diff --git a/section_2/float/t.s b/section_2/float/t.s index 645b851..135c68e 100644 --- a/section_2/float/t.s +++ b/section_2/float/t.s @@ -1,12 +1,16 @@ .text - .global main - .align 2 + .global _main + .align 2 -main: str x30, [sp, -16]! +_main: + str x30, [sp, -16]! + mov x0, 0xFFFFFFFF +/* ldr s0, =0x3fc00000 fcvt d0, s0 ldr x0, =fmt bl printf +*/ ldr x30, [sp], 16 mov w0, wzr ret