1
0
Fork 0
mirror of https://github.com/pnx/m16vm synced 2026-06-16 03:44:55 +02:00
m16vm/asm/test.as

15 lines
287 B
ActionScript

; NOTE: This is just to check the syntax.
; No logic behind any of the instructions (will prob crash)
movl $0, 3
movl $5, 6500
; Comment
noop ; Comment
start0: add $3, $0, $1
sw $2, $3, $2
ld $5, $0, $3
beq $0, $1, 1
beq $0, $1, -25
beq $0, $1, -4000
jr $5, 0
int $0, 1
jmp 5