Working reading

This commit is contained in:
2026-03-13 23:50:03 +01:00
parent 0ad745c6d5
commit af5e7d26f8
4 changed files with 28 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
init() {
$link -> $counter
}
increment(x) {
ADD $counter, %x, $counter
MOV $counter, %r
}
main() {
increment(5)
increment(3)
PRINT $counter, -> $link
}