CHAPTER 9. INSTRUCTION SET

9.4.8Bit Manipuration Instructions

SET1 mem. bit

Function: (mem. bit) 1; mem = D7 to D0 : 00H to 3FH, bit = B1 to B0 : 0 to 3

Sets the bit specified by 2-bit immediate data bit of the address specified by 8-bit immediate data mem.

SET1 fmem. bit

Function: (bit specified by operand) 1

Sets the data memory bit specified by bit manipulation addressing (fmem. bit).

CLR1 mem. bit

Function: (mem. bit) 0; mem = D7 to D0 : 00H to 3FH, bit = B1 to B0 : 0 to 3

Clears the bit specified by 2-bit immediate data bit of the address specified by 8-bit immediate data mem.

CLR1 fmem. bit

Function: (bit specified by operand) 0

Clears the data memory bit specified by bit manipulation addressing (fmem. bit).

SKT mem. bit

Function: Skip if (mem. bit) = 1; mem = D7 to D0 : 00H to 3FH, bit = B1 to B0 : 0 to 3

If 2-bit immediate data bit of the address specified by 8-bit immediate data mem is 1, skips the next instruction.

SKT fmem. bit

Function: Skip if (bit specified by operand) = 1

If the data memory bit specified by bit manipulation addressing (fmem. bit) is 1, skips the next instruction.

169

Page 180
Image 180
NEC PD75P402, PD75402A user manual Bit Manipuration Instructions, 169