|
Z86E3016PSG Datasheet, PDF (208/348 Pages) Zilog, Inc. – Z86E3016PSG | |||
|
◁ |
Z8 Family of Microcontrollers
User Manual
190
Register F8h (P01M)
Port 0â1 Mode Register (P01M)
(Write-Only)
D7 D6 D5 D4 D3 D2 D1 D0
P00âP07 Mode
00 = Output
01 = Input
1X = A8âA11
P10âP17 Mode
00 = Byte Output
01 = Byte Output
10 = AD0-AD7
11 = High Impedance AD0âAD7,
A8âA15, AS, DS, R/W
P04âP07 Mode
00 = Output
01 = Input
1X = A12âA15
Figure 123. External Address Configuration
External Stacks
The Z8® CPU architecture supports stack operations in either the Z8®
Standard Register File or external data memory. A stackâs location is
determined by bit 2 in the Port 0â1 Mode Register (F8h). If bit 2 is set to
0, the stack is in external data memory (see Figure 124).
The instruction used to change the stack selection bit should not be imme-
diately followed by the instructions RET or IRET, because this will cause
indeterminate program ï¬ow. After a RESET, the internal stack is selected.
External Interface
UM001602-0904
|
▷ |