beautypg.com

Zilog Z16C35 User Manual

Page 204

background image

Application Note

The Z180™ Interfaced with the SCC at MHZ

7-27

7

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

ifidn

,<(hl)>
db

00110100B

else
ifdef

?&?r
db

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

else

db

01100100B

db

?r

endif
endif
endm
.list

end

Table 13. Program Example – Z180 CPU Macro Instructions (Continued)

Page 198 of 316

UM011002-0808