5.43 · exercise

Quiz: ARMv8 Assembly - Intermediate

Work through argument registers, instruction aliases, the frame record, integer division, condition flags, and stepping in gdb.

0 of 8 correct

Knowledge Check

What role do registers x0 through x7 play in an AArch64 procedure call?

Knowledge Check

The instruction cmp x20, x21 is an alias. Which instruction does the assembler actually encode?

Knowledge Check

At the top of a routine, what does stp x29, x30, [sp, -16]! accomplish?

Knowledge Check

What happens to the remainder when sdiv divides one register by another?

Knowledge Check

In gdb, what is the difference between si and ni?

Knowledge Check

Which condition flag records that the result of an operation is negative?

Knowledge Check

In GAS, which prefix marks an immediate written in binary?

Knowledge Check

What does it mean that x19 through x28 are callee-saved?