Website Summary Files Commits Branches @commit @diff @stats
path: root / example.s
diff options
context:
space:
mode:
Commit2653f4e53f9e878b8c4d09088fd79b4e22a48865 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-02-14 16:06:45 +0200
Committer
 Syndamia <kamen@syndamia.com>
2025-02-14 16:06:45 +0200
Filesa82289da31eb8eed58d0383eb9495416f7cd9180 /example.s
tonkobali-2653f4e53f9e878b8c4d09088fd79b4e22a48865.tar
tonkobali-2653f4e53f9e878b8c4d09088fd79b4e22a48865.tar.gz
tonkobali-2653f4e53f9e878b8c4d09088fd79b4e22a48865.zip
Parentc8955f48580db8067765f76c8967e44dbb06517a (diff)
feat(vm): Add ability to store data in memory and to start execution after halt
1 files changed, 1 insertions, 1 deletions
-rw-r--r--example.s2
diff --git a/example.s b/example.s
index b7c45ee..6e91ade 100644
--- a/example.s
+++ b/example.s
@@ -11,7 +11,7 @@ if_false:
endif:
jmp %0
-condition = 0
+condition = %30
; 0 beq Memory(0), Instruction(2),
; 0: subleq Memory(0), Memory(0), Instruction(2),