diff --git a/examples/bare1.rs b/examples/bare1.rs index db410a2d6c77a50d73df14cf0b6b0d019486ca4b..a232e57850a51d5f89564bf570e6ca20feac2036 100644 --- a/examples/bare1.rs +++ b/examples/bare1.rs @@ -28,7 +28,7 @@ fn main() { // to prevent returning loop { cortex_m::asm::nop(); - // cortex_m::asm::bkpt(); + cortex_m::asm::bkpt(); } } @@ -117,7 +117,10 @@ fn main() { // // 4. now remeve the comment line 31 // what is shown in the Dissasmbly view, what instruction is executing -// ** your answer here ** +// +// 0x8000fe0 <bare1::main+124> bkpt 0x0000 +// +// BKPT is an instruction which causes the processor to enter a debug state // // commit your answers (bare1_4) //