Skip to content
Snippets Groups Projects
Commit dcdc6737 authored by Emil Kitti's avatar Emil Kitti
Browse files

bare1_4

parent 01babc95
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ fn main() { ...@@ -28,7 +28,7 @@ fn main() {
// to prevent returning // to prevent returning
loop { loop {
cortex_m::asm::nop(); cortex_m::asm::nop();
// cortex_m::asm::bkpt(); cortex_m::asm::bkpt();
} }
} }
...@@ -117,7 +117,10 @@ fn main() { ...@@ -117,7 +117,10 @@ fn main() {
// //
// 4. now remeve the comment line 31 // 4. now remeve the comment line 31
// what is shown in the Dissasmbly view, what instruction is executing // 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) // commit your answers (bare1_4)
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment