5.42 · exercise

Quiz: ARMv8 Assembly - Fundamentals

Work through the AArch64 exception levels, the register conventions, integer division by zero, the gdb stepping commands, and what mov x29, sp really assembles to.

0 of 5 correct

Knowledge Check

In ARMv8-A, which exception level runs ordinary user applications with the least privilege?

Knowledge Check

Which block of general-purpose registers is callee-saved, so a function you call must preserve it?

Knowledge Check

What happens when a program divides by zero with sdiv or udiv?

Knowledge Check

In gdb, how do si and ni differ when the next instruction is a bl to a function?

Knowledge Check

mov x29, sp is an alias. Which instruction does the assembler actually encode?