S1C6S3N2 TECHNICAL SOFTWARE
EPSON
II-43
CHAPTER 5: PERIPHERAL CIRCUITS (Output Ports)
YOUTB
EQU
● ▼
● ▼
H
;
YDTB
EQU
● ★
● ★
H
;
;
;
LD
X,7BH
;
LD
MX,0010B
;
;
LD
X,7CH
;
LD
Y,YOUTB
;
LD
MY,MX
;
LD
X,7BH
;
LD
B,MX
;
;
LD
X,7CH
;
LD
Y,YDTB
;
LD
MY,MX
;
Buffer address of data to be output to R10–R13
Buffer address of data
Output (write) the immediate value "0010B" to R00–R03
Output (write) the value of RAM, OUTB to R10–R13
Read the value of R00–R03 (being output) to B register
Read the value of R10–R13 (being output) to RAM, DTB
Addresses for RAM, OUTB and DTB are allocated appropri-
ately.
Program
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......