Bit manipuration instructions, Set1 mem. bit, Set1 fmem. bit – NEC PD75402A User Manual

Page 180: Clr1 mem. bit, Clr1 fmem. bit, Skt mem. bit, Skt fmem. bit

Advertising
background image

169

CHAPTER 9. INSTRUCTION SET

9.4.8

Bit Manipuration Instructions

SET1 mem. bit

Function: (mem. bit)

1; mem = D

7

to D

0

: 00H to 3FH, bit = B

1

to B

0

: 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 = D

7

to D

0

: 00H to 3FH, bit = B

1

to B

0

: 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 = D

7

to D

0

: 00H to 3FH, bit = B

1

to B

0

: 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.

Advertising
This manual is related to the following products: