
Epson Research and Development
Page 33
Vancouver Design Center
Programming Notes and Examples
SED1352
Issue Date: 98/10/08
X16-BG-007-04
Example 13: Write 12h to register 08h on the SDU1352B0x evaluation board; the base port address is
310h, and direct port mapping is used.
1.
Calculate the port address for register 08h.
2.
Write the value 12h to port address 318h.
MOV DX,318h
MOV AL,12h
OUT DX,AL
Note
The SDU1352B0x is normally configured for register indexing, not direct mapping. Refer to the
SDU1352B0x Evaluation Board User’s Manual for more information configuring the SDU1352B0x
board for register indexing or register direct mapping.
port address
310h
8h
+
318h
=
=