You are on page 1of 1

org $1000

entry _mp
;----------------------
_ofs equ $02
_dt dc.b $ff
dcb.b $0f,$00
dcb.b $03*$10,$00

;---------------------
_xt macro x1
trap #$0f
dc.w x1
endm
;---------------------------------------
_nm lea.l _dt,a0
lea.l _dt+$11,a1
move.b (a0),_ofs(a0)
move.b (a0),(a1)
move.b (a1),_ofs(a1)
lea.l _dt+$20,a3
lea.l _dt+$31,a1
move.b (a0),(a3)
move.b (a0),_ofs(a3)
move.b (a0),(a1)
move.b (a1),_ofs(a1)

rts
;---------------------------------------
_mp bsr _nm
_xt 0
end

You might also like