![](http://datasheet.mmic.net.cn/120000/M34238MK-XXXGP_datasheet_3558621/M34238MK-XXXGP_23.png)
Carry
flag
Skip condition
Detailed description
MITSUBISHI MICROCOMPUTERS
4238 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTERS
The immediate field value n is loaded into register A.
If a continuous description of LA instructions are written and are being executed, only the first LA
instruction is executed, the following LA instructions are all skipped.
Bits 7 to 4 of the residing at the address specified by register A and register D, (DR2 DR1 DR0 A3 A2 A1 A0), of
a given page p are transferred to register B, and bits 3 to 0 at the ROM addresses are transferred to register A.
When this instruction is executed, one of stack register is used.
The contents of M(DP) are added to register A and the result is stored into register A. The contents of the
carry flag CY is not changed.
The contents of M(DP) and carry flag CY are added to register A and the result is stored into register A
and carry flag CY.
The immediate field value n is added to register A and the contents of carry flag CY is not changed as a result of this
calculation. After the calculation, if the result does not overflow, the next instruction is skipped.
Carry flag CY is set to “1”.
Carry flag CY is cleared to “0”.
If the contents of carry flag CY is “0”, the next instruction is skipped.
The one’s complement for register A’s contents is stored into register A.
Register A, including the carry flag CY, is rotated 1 bit to the right.
The j-th bit of the contents of M(DP), which is the bit specified by the immediate field value j, is set to “1”.
The j-th bit of the contents of M(DP), which is the bit specified by the immediate field value j, is cleared to
“0”.
If the j-th bit of the contents of M(DP), which is the bit specified by the immediate field value j, is “0”, the
next instruction is skipped.
If the contents of register A is equal to the contents of M(DP), the next instruction is skipped.
If the contents of register A is equal to the immediate field value n, the next instruction is skipped.
continuous description
—
overflow = 0
—
(CY) = 0
—
(Mj (DP)) = 0
where j = 0 to 3
(A) = (M(DP))
(A) = n
where n = 0 to 15
—
0/1
—
1
0
—
0/1
—
22