AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax: BR<cond> <address>
Operation: if (<cond> == TRUE) PC = PC + <address>
Flags: None

This instruction adds <address> to the PC if the specified condition is true. Condition can be one of the following:

Condition
EQ
NE
CS
CC
SH
LO
MI
PL
GE
LT
HS
HC
TS
TC
VS
VC
IE
ID
Boolean
Z == 1
Z == 0
C == 1
C == 0
C == 0
C == 1
N == 1
N == 0
N == V
N <> V
H == 1
H == 0
T == 1
T == 0
V == 1
V == 0
I == 1
I == 0
Function
equal
not equal
carry set
carry clear
same or higher, unsigned
lower, unsigned
minus
plus
greater or equal, signed (S bit clear)
less than, signed (S bit set)
half carry set
half carry clear
T flag set
T flag clear
overflow set
overflow clear
interrupts enabled
interrupts disabled

Example:
BRIE label
BRCS label

[sh-index] Back to list of manuals