mirror of
https://github.com/weiju/amiga-stuff
synced 2025-12-08 14:58:33 +00:00
initial version
This commit is contained in:
13
assembler/test1.asm
Normal file
13
assembler/test1.asm
Normal file
@ -0,0 +1,13 @@
|
||||
;; This is a small test for compiling to 68000 assembly
|
||||
;; note that there is no space allowed in the operand field
|
||||
start:
|
||||
move.l #5,d0
|
||||
add.l #1,d0
|
||||
sub.l #2,d0
|
||||
jsr label1
|
||||
rts
|
||||
|
||||
label1:
|
||||
moveq #1,d0
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user