Scc/escc user manual – Zilog Z80230 User Manual

Page 250

Advertising
background image

SCC/ESCC

User Manual

UM010903-0515

Application Notes

243

Table lists a program example for the Z180/SCC DMA transfer test.

Program Example – Z180 CPU Macro Instructions (Continued)

db

10000011B

endm

otimr

macro

db

11101101B

db

10010011B

endm

otdm

macro

db

11101101B

db

10001011B

endm

otdmr

macro

db

11101101B

db

10011011B

endm

tstio

macro

?p

db

11101101B

db

01110100B

db

?p

endm

tst

macro

?r

db

11101101B

ifid

<?r>,<(hl)>

db

00110100B

else

ifdef

?&?r

db

00000100B+(?&?r AND 7) SHL 3

else

db

01100100B

db

?r

endif

endif

endm

.list

end

Advertising
This manual is related to the following products: