Stdle #24 · arithmetic · 2026-06-30
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, #-32]! mov w8, #15 mov w9, #4 add w10, w8, w9 sub w11, w8, w9 sub sp, sp, #16 str x10, [sp] str x11, [sp, #8] adrp x0, fmt@PAGE add x0, x0, fmt@PAGEOFF bl _printf add sp, sp, #16 ldp x29, x30, [sp], #32 mov w0, #0 ret.section __TEXT,__cstringfmt: .asciz "%d %d\n"Arithmetic