Epson E0C6001 Technical Manual page 99

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

E0C6001 TECHNICAL SOFTWARE
Fig. 3.2.2
Setting of the output port
II-18
• Bit-unit operation of output ports
Label
Mnemonic/operand
LD
Y,0F3H
OR
MY,0010B
AND
MY,1110B
The three instruction steps above cause the output port to
be set, as shown in Figure 3.2.2.
Address 0F3H
Comment
;
Set address of port
;
Set R01 to 1
;
Set R00 to 0
D3
D2
D1
D0
0
0
R01
R00
Sets "0"
Sets "1"
Unused
Unused

Advertisement

Table of Contents
loading

Table of Contents