Program Counter Block; Flags - Epson S1C6200A Core Cpu Manual

Epson cmos 4-nit single chip microcomputer core cpu manual
Hide thumbs Also See for S1C6200A:
Table of Contents

Advertisement

2 MEMORY AND OPERATIONS

2.1.1 Program counter block

The program counter is used to point to the next instruction step to be executed by the CPU. See Figure
2.1.1.1.
The program counter has the following registers.
PCB, PCP and PCS together from a 13-bit counter which can address any location in program memory.
PCP and PCS together from a 12-bit counter which can address any location within a given bank of pro-
gram memory. Each time an instruction other than a jump is executed, this counter increments by one.
Thus, a jump instruction does not need to be executed between the last step of one page and the first step of
the next.
The contents of NBP and NPP are loaded into PCB and PCP each time an instruction is executed. On reset,
NBP and NPP are loaded with the same values as PCB and PCP.

2.1.2 Flags

The following flags are provided.
4
Table 2.1.1.1 Program counter registers
Register
PCB (Program Counter-Bank)
PCP (Program Counter-Page)
PCS (Program Counter-Step)
NBP (New Bank Pointer)
NPP (New Page Pointer)
Program memory
(8,192 12-bit words max.)
Address decoder
PCB
PCP
(1)
(4)
NBP
NPP
(1)
(4)
Fig. 2.1.1.1 Program counter configuration
Table 2.1.2.1 Flags
Flag
Menus
Interrupt
I
Decimal mode
D
Zero
Z
Carry
C
EPSON
Size
1-bit register
4-bit counter
8-bit counter
1-bit register
4-bit register
PCS
(8)
Program counter block
Size
1: Enabled
0: Disabled
1: Decimal
0: Hexadecimal
1: Set
0: Ignored
1: Set
0: Ignored
S1C6200/6200A CORE CPU MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c6200

Table of Contents