IBM SA14-2339-04 Personal Computer User Manual


 
Instruction Set 9-3
|| Concatenation
=, ≠ Equal, not equal relations
<, > Signed comparison relations
, Unsigned comparison relations
if...then...else... Conditional execution; if
condition
then
a
else
b
, where
a
and
b
represent
one or more pseudocode statements. Indenting indicates the ranges of
a
and
b
. If
b
is null, the else does not appear.
do Do loop. “to” and “by” clauses specify incrementing an iteration variable;
“while” and “until” clauses specify terminating conditions. Indenting
indicates the scope of a loop.
leave Leave innermost do loop or do loop specified in a leave statement.
n A decimal number
0xn A hexadecimal number
0bn A binary number
FLD An instruction or register field
FLD
b
A bit in a named instruction or register field
FLD
b:b
A range of bits in a named instruction or register field
FLD
b,b, . . .
A list of bits, by number or name, in a named instruction or register field
REG
b
A bit in a named register
REG
b:b
A range of bits in a named register
REG
b,b, . . .
A list of bits, by number or name, in a named register
REG[FLD] A field in a named register
REG[FLD, FLD
. . .
] A list of fields in a named register
REG[FLD:FLD] A range of fields in a named register
GPR(r) General Purpose Register (GPR) r, where 0 r 31.
(GPR(r)) The contents of GPR r, where 0 r 31.
DCR(DCRN) A Device Control Register (DCR) specified by the DCRF field in an
mfdcr or mtdcr instruction
SPR(SPRN) An SPR specified by the SPRF field in an mfspr or mtspr instruction
TBR(TBRN) A Time Base Register (TBR) specified by the TBRF field in an mftb
instruction
GPRs RA, RB,
. . .
(Rx) The contents of a GPR, where
x
is A, B, S, or T
(RA|0) The contents of the register RA or 0, if the RA field is 0.
c
0:3
A four-bit object used to store condition results in compare instructions.
n
b The bit or bit value
b
is replicated
n
times.
<
u
>
u