NEC PD750008 User Manual

Page 305

Advertising
background image

285

CHAPTER 11 INSTRUCTION SET

BR addr1

Function: For the µPD750008 PC

12-0

<– addr1

addr1 = 0000H-1FFFH

Branches to the address specified by the immediate data addr1.

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

instruction with the BRA !addr1 instruction, BR !addr instruction, BRCB !caddr instruction, or BR $addr1

instruction as required at assembly time.

Remark "Function" in this section is applicable to the µPD750008 whose program counter consists of

13 bits (addr = 0000H to 1FFFH).

However, this is also applicable to the µPD750004 whose program counter consists of

12 bits (addr = 0000H to 0FFFH), the µPD750006 whose program counter consists of 13

bits (addr = 0000H to 17FFH), and the µPD75P0016 whose program counter consists of

14 bits (addr = 0000H to 3FFFH).

BRA !addr1

Function: For the µPD750008 PC

12-0

<– addr1

BR !addr

Function: For the µPD750008 PC

12-0

<– addr

addr = 0000H-1FFFH

Transfers the immediate data addr to the program counter (PC), then branches to the location addressed

by the program counter.

BR $addr

Function: For the µPD750008 PC

12-0

<– addr

addr = (PC–15) to (PC–1), (PC+2) to (PC+16)

Relative branch instruction with branch ranges of (–15 to –1) and (+2 to +16) from the current address.

The instruction is not affected by page or block boundaries.

BR $addr1

Function: For the µPD750008 PC

12-0

<– addr1

addr = (PC–15) to (PC–1), (PC+2) to (PC+16)

Relative branch instruction with branch ranges of (–15 to –1) and (+2 to +16) from the current address.

The instruction is not affected by page or block boundaries.

II

II

II

I

I

Advertising
This manual is related to the following products: