diff --git a/examples/bare1.rs b/examples/bare1.rs index 48a0c4ea0d950844142250c2a03156df1938f6ff..f6e0848253e60232dc16571c13225b59262b3ba9 100644 --- a/examples/bare1.rs +++ b/examples/bare1.rs @@ -90,7 +90,7 @@ fn main() -> ! { // 0x08000424 <+36>: b.n 0x8000426 <main+38> // 0x08000426 <+38>: ldr r0, [sp, #4] // 0x08000428 <+40>: str r0, [sp, #12] -// => 0x0800042a <+42>: b.n 0x8000408 <main+8> +// => 0x0800042a <+42>: b.n 0x8000408 <main+8> // 0x0800042c <+44>: movw r0, #2268 ; 0x8dc // 0x08000430 <+48>: movt r0, #2048 ; 0x800 // 0x08000434 <+52>: bl 0x800045c <panic> diff --git a/examples/bare2.rs b/examples/bare2.rs index c039a6ef1e8ff1ed8d164f6c4ecdb1155684126a..225f3be8025255208fb18130171ac630d38030a4 100644 --- a/examples/bare2.rs +++ b/examples/bare2.rs @@ -71,18 +71,22 @@ fn main() -> ! { // // What is the output in the ITM console? // -// ** your answer here ** +// We get +// Start 524429147 +// End 1149429355 // // Rebuild and run in release mode // // > cargo build --example bare2 --release // -// ** your answer here ** +// We get +// Start 3475270380 +// End 3479270838 // // Compute the ratio between debug/release optimized code // (the speedup). // -// ** your answer here ** +// 156.3 // // commit your answers (bare2_1) //