diff --git a/examples/rtt_timing.rs b/examples/rtt_timing.rs index 878fed23f317944953150f3ed2b2ac666f2ff00d..6e077ee198417e2433ede22ffbd638b559934d77 100644 --- a/examples/rtt_timing.rs +++ b/examples/rtt_timing.rs @@ -212,6 +212,10 @@ fn timed_loop() -> (u32, u32) { // https://developer.arm.com/documentation/ddi0439/b/Data-Watchpoint-and-Trace-Unit/DWT-Programmers-Model // // [Your answer here] +// With movw and movt the value 0xe0001004 is loaded to register 1. +// The address to DWT::get_cycle_count() is the value 0xe0001004. +// Then with the ldr, the value of the DWT::get_cycle_count() is loaded into register r0. +// // // Now check your answer by dumping the registers // (gdb) info registers