beautypg.com

9 memory bit manipulation instructions, Set1 mem.bit, Set1 fmem.bit set1 pmem.@l set1 @h+mem.bit – NEC PD754144 User Manual

Page 276: Clr1 mem.bit, Clr1 fmem.bit clr1 pmem.@l clr1 @h+mem.bit, Skt mem.bit

background image

CHAPTER 11 INSTRUCTION SET

276

User’s Manual U10676EJ3V0UM

11.4.9 Memory bit manipulation instructions

SET1 mem.bit

Function: (mem.bit)

1 mem = D

7-0

: 00H to FFH, bit = B

1-0

: 0-3

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

SET1 fmem.bit

SET1 pmem.@L

SET1 @H+mem.bit

Function: (bit specified by operand)

1

Sets the bit of the data memory addressed in the bit manipulation addressing mode (fmem.bit, pmem.@L, or

@H+mem.bit).

CLR1 mem.bit

Function: (mem.bit)

0 mem = D

7-0

: 00H to FFH, bit = B

1-0

: 0-3

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

CLR1 fmem.bit

CLR1 pmem.@L

CLR1 @H+mem.bit

Function: (bit specified by operand)

0

Clears the bit of the data memory addressed in the bit manipulation addressing mode (fmem.bit, pmem.@L, or

@H+mem.bit).

SKT mem.bit

Function: Skip if (mem.bit) = 1

mem = D

7-0

: 00H to FFH, bit = B

1-0

: 0-3

Skips the next instruction if the bit specified by 2-bit immediate data bit at the address specified by 8-bit immediate

data mem is 1.

This manual is related to the following products: