summaryrefslogtreecommitdiff
path: root/ROMs/hello_c.asm
diff options
context:
space:
mode:
Diffstat (limited to 'ROMs/hello_c.asm')
-rw-r--r--ROMs/hello_c.asm11
1 files changed, 6 insertions, 5 deletions
diff --git a/ROMs/hello_c.asm b/ROMs/hello_c.asm
index 292b99a..8cdf58b 100644
--- a/ROMs/hello_c.asm
+++ b/ROMs/hello_c.asm
@@ -1,7 +1,8 @@
_main:
-ADD 1, 2
-SUB 4, 1
-MUL AX, AX
-MOV AX, V0
-RET
+ push 0
+ mov 1, V1
+ pop V0
+ or V0, V1
+ mov DX, V0
+ ret