UPD75238GJ NEC [NEC], UPD75238GJ Datasheet - Page 151
Manufacturer Part Number
4 BIT SINGLE-CHIP MICROCOMPUTER
(2) Bit manipulation instructions
• When the group of the string effect instruction before the GETI instruction is the same as that of the
• When the group of the instruction after the GETI instruction is the same as that of the instruction
Since PC does not increment the counter during execution of a GETI instruction, control returns to the
address next to the GETI instruction after the execution of the GETI instruction.
When the instruction before a GETI instruction has the skip function, the GETI instruction is skipped in
the same way as for other single-byte instructions. When the instruction referenced by a GETI instruction
has the skip function, the instructions after the GETI instruction are skipped.
When a string effect instruction is referenced by a GETI instruction, the following results are obtained.
The PD75238 is provided with bit test instructions, bit transfer instructions, and bit Boolean instructions
(AND, OR, and XOR) in addition to normal bit manipulation instructions (set instruction and clear
instruction). Manipulation bits are specified by bit manipulation addressing.
There are three types of bit manipulation addressing. The table below lists the bits manipulated by each
MB = MBE• MBS
instruction referenced by the GETI instruction, the effect of the string effect instruction is canceled and
the referenced instruction is not skipped.
referenced by the GETI instruction, the effect of the string effect instruction caused by the referenced
instruction is valid and the instructions after the referenced instruction are skipped.
: 0, 1, 2, 4, BT, T0, TPG, CSI0, KS, W
Port 0 to port 6
Port 0 and port 4
All the peripheral hardware (bit-
Specifiable peripheral hardware
FB0H to FBFH
FF0H to FFFH
FC0H to FFFH
All the bits of the memory bank specified by
Specifiable bit address range