summaryrefslogtreecommitdiff
path: root/04b/in04b
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-06 14:02:30 -0500
committerpommicket <pommicket@gmail.com>2022-01-06 14:02:30 -0500
commitdb552a4dcacc5d82f00e595be4ca3faae75a3ddb (patch)
tree330a8e413fea115662dd9ad3d54e64ba81046eaf /04b/in04b
parent8c6b19fdd3a8bca886692056b8f4942b889323c9 (diff)
string
Diffstat (limited to '04b/in04b')
-rw-r--r--04b/in04b17
1 files changed, 3 insertions, 14 deletions
diff --git a/04b/in04b b/04b/in04b
index c64aecd..caee4f0 100644
--- a/04b/in04b
+++ b/04b/in04b
@@ -43,26 +43,15 @@
; <term> < <term> (left shift)
; <term> > <term> (unsigned right shift)
-
syscall(1, 1, .str_hw, 14)
syscall(0x3c, 42)
:str_hw
- byte 'H
- byte 'e
- byte 'l
- byte 'l
- byte 'o
- byte ',
- byte 32
- byte 'w
- byte 'o
- byte 'r
- byte 'l
- byte 'd
- byte '!
+ string Hello, world!
byte 10
+
+
:syscall
function
; I've done some testing, and this should be okay even if