mirror of
https://github.com/Noratrieb/crapderive.git
synced 2026-01-14 16:45:08 +01:00
mob
This commit is contained in:
parent
ce7deb7dc6
commit
f9a3d93558
5 changed files with 108 additions and 27 deletions
21
test.at
21
test.at
|
|
@ -1,14 +1,7 @@
|
|||
mov r0, 3
|
||||
cmp r0, 8
|
||||
je true
|
||||
jmp false
|
||||
true:
|
||||
jmp exit
|
||||
|
||||
// loop
|
||||
false:
|
||||
mov r5, [8]
|
||||
jmp false
|
||||
|
||||
|
||||
exit:
|
||||
mov [0], 40
|
||||
mov [1], 41
|
||||
mov [2], 42
|
||||
mov [3], 43
|
||||
mov r0, 0
|
||||
mov r1, 4
|
||||
int 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue