From dcdc67373ced764d26ead1224e89352364028038 Mon Sep 17 00:00:00 2001 From: Emil Kitti <emil.kitti@outlook.com> Date: Fri, 26 Jan 2018 21:19:43 +0100 Subject: [PATCH] bare1_4 --- examples/bare1.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/bare1.rs b/examples/bare1.rs index db410a2..a232e57 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) // -- GitLab