5.46 · exercise
Predict: ARMv8 Execution
Predict the register values and flags these AArch64 snippets leave behind.
0 of 4 correct
Mental Trace
// sp holds 0x8000 on entry to main stp x29, x30, [sp, -32]! mov x29, sp
Mental Trace
mov w1, 14 mov w2, 3 sdiv w0, w1, w2
Mental Trace
mov x22, 10 mov x23, 0 udiv x21, x22, x23
Mental Trace
mov x1, 7 mov x2, 7 cmp x1, x2 b.eq top