Digital Research
This commit is contained in:
2020-11-06 18:50:37 +01:00
parent 621ed8ccaf
commit 31738079c4
8481 changed files with 1888323 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
* driver for simple overlay test
.globl tmain
.xdef foobaz
.xdef foobz2
*
tmain: move.l #before,d1
move.w #9,d0
trap #2
jsr foobaz
move.l #after,d1
move.w #9,d0
trap #2
*
move.l #bef2,d1
move.w #9,d0
trap #2
jsr foobz2
move.l #aft2,d1
move.w #9,d0
trap #2
jsr foobaz
jsr foobz2
jsr foobaz
jsr foobz2
rts
*
.data
.even
before: .dc.b 13,10,'CALLING FOOBAZ$'
after: .dc.b 13,10,'BACK FROM FOOBAZ$'
bef2: .dc.b 13,10,'CALLING FOOBAZ2$'
aft2: .dc.b 13,10,'BACK FROM FOOBAZ2$'
.end