Stdle #70 · addressing · 2026-08-15
What does this Assembly snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
.global _main.align 2_main: stp x29, x30, [sp, #-48]! adrp x8, rec@PAGE add x8, x8, rec@PAGEOFF ldr w9, [x8, #4] sub sp, sp, #16 str x9, [sp] adrp x0, fmt@PAGE add x0, x0, fmt@PAGEOFF bl _printf add sp, sp, #16 ldp x29, x30, [sp], #48 mov w0, #0 ret.section __DATA,__data.align 2rec: .long 0, 25, 88.section __TEXT,__cstringfmt: .asciz "%d\n"Addressing