summaryrefslogtreecommitdiff
path: root/test6.asm
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-05-23 18:12:40 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-05-23 18:12:40 -0400
commit05d10fb3a941aa384340d2999033aacb31e5f32f (patch)
tree5394fca3789e880babf9ece152a43c1ebf26a509 /test6.asm
parentf3a84599a7034c2e746b952cd4bc9aa5967e4083 (diff)
Initial Implementation of ELF
Diffstat (limited to 'test6.asm')
-rwxr-xr-xtest6.asm16
1 files changed, 11 insertions, 5 deletions
diff --git a/test6.asm b/test6.asm
index 3a9a21f..3c9ab62 100755
--- a/test6.asm
+++ b/test6.asm
@@ -10,9 +10,15 @@ syscall
.data
x: .word 0xFFFFFFFF
-#fib: .space 40
-#h: .half 255
-#c: .byte 0
-#dogs: .ascii "Dogs are cool\n"
-#cats: .asciiz "cats are cool\n"
+cats: .asciiz "cats are cool\n"
+c: .byte 0
+
+.rodata
+
+g: .word 50
+dogs: .ascii "Dogs are cool\n"
+h: .half 255
+
+.bss
+fib: .space 40