Skip to content
Snippets Groups Projects
Commit 997f3a2c authored by Josef Utbult's avatar Josef Utbult
Browse files

bare1_7

parent 431924d9
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,7 @@ const APP: () = {
// Where is the local variable stored?
// What happened, and why is Rust + LLVM allowed to optimize out your code?
//
// ** your answer here **
// It only stores the variable in a register. It does this to increse speed I would guess.
//
// Commit your answers (bare1_6)
//
......@@ -378,7 +378,10 @@ const APP: () = {
//
// What is now the disassembly of the loop (in debug/dev mode):
//
// ** your answer here **
// 0x08000e9c <+24>: ldr r0, [sp, #0]
// 0x08000e9e <+26>: adds r0, #1
// 0x08000ea0 <+28>: bcs.n 0x8000eb0 <rtic_bare1::init+44>
// 0x08000ea2 <+30>: str r0, [sp, #0]
//
// commit your answers (bare1_7)
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment