1
0
Fork 0
mirror of https://github.com/pnx/m16vm synced 2026-06-17 03:50:03 +02:00

move program/ and asm/ directories to examples/

This commit is contained in:
Henrik Hautakoski 2018-12-18 13:31:07 +01:00
parent d73e2ab710
commit 04689fc69a
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
8 changed files with 0 additions and 0 deletions

15
examples/asm/test.as Normal file
View file

@ -0,0 +1,15 @@
; 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