Memory bit manipulation instructions – NEC PD750008 User Manual

Page 302

Advertising
background image

282

µPD750008 USER'S MANUAL

NOT1 CY

Function: CY <– CY

Inverts the carry flag. If it is 0, it is set to 1, or vice versa.

11.4.9 Memory Bit Manipulation Instructions

SET1 mem.bit

Function: (mem.bit) <– 1 mem = D

7-0

: 00H-FFH, bit = B

1-0

: 0–3

Sets the bit specified by the 2-bit immediate data bit at the address specified by the 8-bit immediate data

mem.

SET1 fmem.bit

SET1 pmem.@L

SET1 @H+mem.bit

Function: (Bit specified in operand) <– 1

Sets the bit in data memory specified by bit manipulation addressing (fmem.bit, pmem.@L, @H+mem.bit).

CLR1 mem.bit

Function: (mem.bit) <– 0 mem = D

7-0

: 00H-FFH, bit = B

1-0

: 0–3

Clears the bit specified by the 2-bit immediate data bit at the address specified by the 8-bit immediate data

mem.

CLR1 fmem.bit

CLR1 pmem.@L

CLR1 @H+mem.bit

Function: (Bit specified in operand) <– 0

Clears the bit in data memory specified by bit manipulation addressing (fmem.bit, pmem.@L, @H+mem.bit).

SKT mem.bit

Function: Skip if (mem.bit) = 1

mem = D

7-0

: 00H-FFH, bit = B

1-0

: 0–3

Advertising
This manual is related to the following products: