Specifications

II-18 EPSON S1C6S2N7 TECHNICAL SOFTWARE
CHAPTER 3: PERIPHERAL CIRCUITS (Output Ports)
• Loading B register data into R00–R03
Label Mnemonic/operand Comment
LD Y,0F3H ;Set address of port
LD MY,B ;R00–R03 B register
As shown in Figure 3.2.1, the two instruction steps above
load the data of the B register into the output ports.
Examples of output
port control
program
D3 D2 D1 D0
Data register
R00
Data register
R01
Data register
R02
Data register
R03
B register
Fig. 3.2.1
Control of the output port
The output data can be taken from the A register, MX, or
immediate data instead of the B register.