home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
405.lha
/
Z8_CrossAsm
/
index.asm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Assembly Source File
|
1990-06-05
|
232 b
|
21 lines
;
; test indexed addressing
;
;
def safe #$30 ;safe working reg. address
def rp r:253 ;the z8 "RP" register
;
org $0850
;
push rp
srp safe
clr r1
ld r0,#6
ld r5,#27
loop:
ld r:34(r1),r5
inc r1
djnz r0,loop
pop rp
ret