5.63 · exercise

Quiz: External Data - Intermediate

Where a program's data lives: the .text, .data, and .bss sections, the string pseudo-ops, and how adrp forms an address.

0 of 5 correct

Knowledge Check

How does the adrp instruction compute the address it writes to its destination register?

Knowledge Check

Why does it not make sense to give a .bss item a non-zero initial value with a directive such as .word or .hword?

Knowledge Check

What is the key difference between the .ascii and .string pseudo-ops?

Knowledge Check

In the memory layout used in the course, which region comes immediately after .data as addresses increase?

Knowledge Check

What is the initial value of a static variable in C that is declared without an initializer, such as static int count;?