Register-offset addressing with sign extension and shifts, plus the pre-indexed and post-indexed forms that save and restore the frame record, the x29 and x30 pair.
0 of 5 correct
Multiple choice
What does the addressing mode [x29, w21, sxtw] accomplish?
Multiple choice
When variables are allocated dynamically inside a block of code, such as an if-statement, by decrementing sp, how are they typically accessed?
Multiple choice
If a stack allocation is 32 bytes, including the 16-byte frame record, what does the stack layout look like immediately after stp x29, x30, [sp, -32]! executes?
Multiple choice
Why does ldp x29, x30, [sp], 16 use post-indexed addressing when the function returns?
Multiple choice
If you need to scale a 64-bit register offset by 8 bytes before adding it to the base register, what syntax is required?