Skip to content
Snippets Groups Projects
Commit ccf25197 authored by Ruben Asplund's avatar Ruben Asplund
Browse files

Exercise D

parent c417362f
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment