Branch instructions – NEC PD750008 User Manual

Page 304

Advertising
background image

284

µPD750008 USER'S MANUAL

AND1 CY, fmem.bit

AND1 CY, pmem.@L

AND1 CY, @H+mem.bit

Function: CY <– CY

^

(bit specified in operand)

ANDs the content of the carry flag with the bit in data memory specified by bit manipulation addressing

(fmem.bit, pmem.@L, @H+mem.bit), then sets the result in the carry flag.

OR1 CY, fmem.bit

OR1 CY, pmem.@L

OR1 CY, @H+mem.bit

Function: CY <– CY

¦

(bit specified in operand)

ORs the content of the carry flag with the bit in data memory specified by bit manipulation addressing

(fmem.bit, pmem.@L, @H+mem.bit), then sets the result in the carry flag.

XOR1 CY, fmem.bit

XOR1 CY, pmem.@L

XOR1 CY, @H+mem.bit

Function: CY <– CY

¦

(bit specified in operand)

Exclusive-ORs the content of the carry flag with the bit in data memory specified by bit manipulation

addressing (fmem.bit, pmem.@L, @H+mem.bit), then sets the result in the carry flag.

11.4.10 Branch Instructions

BR addr

Function: For the µPD750008 PC

12-0

<– addr

addr = 0000H-1FFFH

Branches to the address specified by the immediate data addr.

This instruction is an assembler pseudo instruction, and the assembler automatically replaces this

instruction with the BR !addr instruction, BRCB !caddr instruction, or BR $addr instruction as required at

assembly time.

I

Advertising
This manual is related to the following products: