5.82 · exercise

Basic quiz: ARMv8 assembly

How AArch64 splits privilege across exception levels, which registers a call may overwrite, what integer division by zero produces, how gdb steps, and what mov x29, sp really assembles to.

0 of 5 correct

Multiple choice

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

Multiple choice

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

Multiple choice

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

Multiple choice

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

Multiple choice

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