aboutsummaryrefslogtreecommitdiff
path: root/examples/instruction-test.asm
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 22:12:58 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 22:12:58 +0000
commit101d7d372d560dfdb1edc7e6b72350304d26603b (patch)
tree1e8721526142d36ad7ab7ea2c43a4a27dd9918ef /examples/instruction-test.asm
parent90e04542a284f642b0a3a56ed568b5d5828bc376 (diff)
downloadovm-101d7d372d560dfdb1edc7e6b72350304d26603b.tar.gz
ovm-101d7d372d560dfdb1edc7e6b72350304d26603b.tar.bz2
ovm-101d7d372d560dfdb1edc7e6b72350304d26603b.zip
Updated instruction-test example file for new memory management instructions
Diffstat (limited to 'examples/instruction-test.asm')
-rw-r--r--examples/instruction-test.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/instruction-test.asm b/examples/instruction-test.asm
index e6df2f9..60f275f 100644
--- a/examples/instruction-test.asm
+++ b/examples/instruction-test.asm
@@ -18,6 +18,21 @@
dup.byte 1
dup.hword 2
dup.word 3
+ malloc.byte 1
+ malloc.hword 2
+ malloc.word 3
+ mset.byte 1
+ mset.hword 2
+ mset.word 3
+ mset.stack.byte
+ mset.stack.hword
+ mset.stack.word
+ mget.byte 1
+ mget.hword 2
+ mget.word 3
+ mget.stack.byte
+ mget.stack.hword
+ mget.stack.word
not.byte
not.hword
not.word