CHAPTER 3: CPU OPERATION

3.3.3 Interrupt vector read

When an interrupt is generated, the CPU reads the interrupt vector output to the data bus by the peripheral circuit that has generated the interrupt. The interrupt vector read status indicates this bus cycle. The peripheral circuit outputs the interrupt vector to the data bus during this status, and the CPU reads the data between the T2 and T3 states. At this time, the CPU outputs the RDIV signal (for exclusive use of the interrupt vector read) as a read signal, not the RD signal that is used for normal data memory read. The address bus outputs a dummy address during this bus cycle. See Section 3.5 for the operation when an interrupt is generated.

T1

T2

T3

T4

CLK

PK

PL

DA00–DA15

Dummy address

RDIV

WR

RD

D0–D3

Interrupt vector

DBS1

DBS0

Bus cycle

Fig. 3.3.3.1 Bus cycle during reading interrupt vector

3.3.4 Memory write

In an execution cycle that writes data to the data memory, the writing data is output to the data bus between the T2 and T4 states and the write signal WR is output in the T3 state. The address bus outputs the target address during this bus cycle.

The S1C63000 contains a 4-bit data bus (D0–D3) and a 16-bit data bus (M00–M15) for an address stacking. The CPU switches the data bus according to the instruction. The BS16 signal is provided for this switch- ing.

T1

T2

T3

T4

T1

T2

T3

T4

CLaK

 

 

 

CLK

 

 

 

PK

 

 

 

PK

 

 

 

PL

 

 

 

PL

 

 

 

DA00–DA15

 

Address

 

DA00–DA15

 

Address

 

WR

 

 

 

WR

 

 

 

RD

 

 

 

RD

 

 

 

D0–D3

 

Write data

 

M00–M15

 

Write data

 

BS16

 

 

 

BS16

 

 

 

DBS1

 

 

 

DBS1

 

 

 

DBS0

 

 

 

DBS0

 

 

 

 

Bus cycle

 

 

Bus cycle

 

(a) During 4-bit data access

(b) During 16-bit data access

Fig. 3.3.4.1 Bus cycle during memory write

24

EPSON

S1C63000 CORE CPU MANUAL