Skip to content

Commit

Permalink
exploring mov
Browse files Browse the repository at this point in the history
  • Loading branch information
pkivolowitz committed Apr 5, 2023
1 parent eff9490 commit 45e0c04
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions section_2/float/t.s
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 45e0c04

Please sign in to comment.