aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 18:12:27 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 18:12:27 +0000
commitd521871b98c2da215615b2b9fc5b90cad0223df4 (patch)
tree66d96c8c315b9f5f0f02382947c30e46c55cb70d
parent848c2f75e31ac7373dbb7b232911b8c15728dd20 (diff)
downloadovm-d521871b98c2da215615b2b9fc5b90cad0223df4.tar.gz
ovm-d521871b98c2da215615b2b9fc5b90cad0223df4.tar.bz2
ovm-d521871b98c2da215615b2b9fc5b90cad0223df4.zip
Removed the index printing in fib.asm
-rw-r--r--examples/fib.asm8
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/fib.asm b/examples/fib.asm
index 2864ba3..5542f48 100644
--- a/examples/fib.asm
+++ b/examples/fib.asm
@@ -11,18 +11,14 @@
;; Print REG[0] and REG[1]
;; Here is the loop back point `#`
- push.hword 1
- print.hword
- push.byte ':'
+ push.byte '\t'
print.char
push.reg.word 0
print.word
push.byte '\n'
print.char
- push.hword 2
- print.hword
- push.byte ':'
+ push.byte '\t'
print.char
push.reg.word 1
print.word