Clean up Assembly files (#1003)

This commit is contained in:
MrBrain295
2021-05-08 09:57:36 -05:00
committed by GitHub
parent 45856bf57b
commit 7f7369291b
20 changed files with 174 additions and 196 deletions

View File

@@ -1,4 +1,4 @@
; "Hello World" in Motorola 68000 machine language, for AmigaOS
ExecBase = 4
OpenLibrary = -552
@@ -7,7 +7,6 @@ PutStr = -948
section "main", code
; open "dos.library"
move.l ExecBase, a6
lea lib, a1
@@ -15,12 +14,10 @@ PutStr = -948
jsr (OpenLibrary, a6)
move.l d0, a6
; print the message
move.l #msg, d1
jsr (PutStr, a6)
; close the library, and exit with code 0
move.l a6, a1
move.l ExecBase, a6