diff --git a/examples/rtt_timing.rs b/examples/rtt_timing.rs index a0fadd628021fc28dc61b1721f9ee5507a3a8636..4ac047af7b4a891627992ff0d8f58cf75369d3fe 100644 --- a/examples/rtt_timing.rs +++ b/examples/rtt_timing.rs @@ -129,7 +129,16 @@ fn timed_loop() -> (u32, u32) { // // Open the file in you editor and search for the `timed_loop`. // -// [Assembly for function `timed_loop` here] +// 08000232 <timed_loop>: +// 8000232: movw r1, #4100 +// 8000236: mov.w r2, #1000 +// 800023a: movt r1, #57344 +// 800023e: ldr r0, [r1] +// 8000240: subs r2, #1 +// 8000242: nop +// 8000244: bne #-8 <timed_loop+0xe> +// 8000246: ldr r1, [r1] +// 8000248: bx lr // // Locate the loop body, and verify that it makes sense // based on the information from the technical documentation: