NEC PD754144 User Manual page 280

4-bit single-chip microcontrollers
Table of Contents

Advertisement

BR $addr1
II
← addr1
Function: PC
11-0
addr1 = (PC–15) to (PC–1), (PC+2) to (PC+16)
This is a relative branch instruction that has a branch range of (–15 to –1) and (+2 to +16) from the current address.
It is not affected by a page boundary or block boundary.
BRCB !caddr
Function: PC
caddr
11-0
caddr = 0000H to 0FFFH
Branches to an address specified by the program counter (PC
Caution
The BRCB !caddr instruction usually branches execution in a block where the instruction exists. If the first byte
of this instruction is at address 0FFEH, however, execution does not branch to block 0 but to block 1.
If the BRCB !caddr instruction is at position a in the figure above, execution branches to block 1 (unmounted), not
block 0.
Do not use the BRC !caddr instruction at the address 0FFEH.
280
CHAPTER 11 INSTRUCTION SET
11-0
7
Block 0
0FFEH
0FFFH
1000H
Block 1
User's Manual U10676EJ3V0UM
) replaced with 12-bit immediate data caddr.
11-0
Program memory
0
a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents