![](http://datasheet.mmic.net.cn/390000/TC9324F_datasheet_16837284/TC9324F_14.png)
TC9324F
2002-02-08
14
6. G-register (G-REG)
The G-register is an 8-bit register for addressing the 4,096 words of row address in data memory (row
address
=
04H to FFH).
The MVGD or MVGS instruction validates the contents of the G-register. Other instructions have no
effect. The G-register is treated as a port. OUT1, an I/O instruction, sets the contents of the G-register.
(See the section on register ports.)
The STIG instruction can also be used to directly set 8-bit content in the G-register.
7. Data Register (DATA REG)
This register, which consists of 1
×
16 bits, is loaded with 16 bits of data from anywhere in program
memory on execution of the DAL instruction. The data register is treated as a port. Executing I/O
instruction IN1 reads the contents of the register to data memory using four bits. (See the section on
register ports.)
This register, which can also be written from data memory, can be used for saving and restoring data
when an interrupt occurs.
8. DAL Address Register (DA)
This register consists of 1
×
14 bits. Executing the DAL instruction with the DAL bit set to 1 loads 16 bits
of data from any program memory address specified by the DAL address register. Setting the (DATA)
→
DA
bit to 1 transfers the contents of the data register (DATA REG) to the DAL address register (DA). This
register and its control bit are treated as a port and can be accessed by the IN3/OUT3 I/O instruction.
(See the section on register ports.)
9. Carry F/F (Ca Flag)
This F/F is set when a Carry or Borrow occurs as the result of an arithmetic instruction. When a Carry or
Borrow does not occur the F/F is reset.
The contents of the Carry F/F change only on execution of an addition/subtraction, CLT, or CLTC
instruction. The contents are not affected by the execution of any other instruction.
The Carry F/F can also be accessed by the IN1/OUT1 I/O instruction. Accordingly, an I/O instruction is
used to save and restore data in data memory at an interrupt. (See the section on register ports.)
0. Judge Circuit (J)
This circuit is used to determine the skip condition when an instruction with a skip function is executed.
If the skip condition is satisfied, the program counter is incremented by 2 and the next instruction is
skipped.
A total of 15 instructions have skip functions. (See instructions with the
*
symbol in the list of instruction
functions and operations in 11.)
. Interrupt Circuit
The interrupt circuit branches to various vector addresses in response to demands from peripheral
hardware and handles interrupts. (See the section on interrupt functions.)