aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 22:56:59 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 22:57:31 +0000
commit753514e9a8ca0c9411d494d90286d1f36809eb2b (patch)
treea93af6a7038b3a02c09104dd2ca5ceaac9999016 /examples
parent740627b12dc33aec2753363a3f5bebf10db07cb5 (diff)
downloadovm-753514e9a8ca0c9411d494d90286d1f36809eb2b.tar.gz
ovm-753514e9a8ca0c9411d494d90286d1f36809eb2b.tar.bz2
ovm-753514e9a8ca0c9411d494d90286d1f36809eb2b.zip
Added MALLOC_STACK and SUB to instruction-test example
Diffstat (limited to 'examples')
-rw-r--r--examples/instruction-test.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/instruction-test.asm b/examples/instruction-test.asm
index 60f275f..84f311e 100644
--- a/examples/instruction-test.asm
+++ b/examples/instruction-test.asm
@@ -21,6 +21,9 @@
malloc.byte 1
malloc.hword 2
malloc.word 3
+ malloc.stack.byte
+ malloc.stack.hword
+ malloc.stack.word
mset.byte 1
mset.hword 2
mset.word 3
@@ -51,6 +54,9 @@
plus.byte
plus.hword
plus.word
+ sub.byte
+ sub.hword
+ sub.word
print.char
print.byte
print.int