From 45e0c0403b7c875b8e97dd58ebaba81eda2e0f6b Mon Sep 17 00:00:00 2001 From: Perry Kivolowitz Date: Wed, 5 Apr 2023 11:17:47 -0500 Subject: [PATCH] exploring mov --- section_2/float/t.s | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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