Excalibur electronic A-MNL-NIOSPROG-01.1 用户手册
Altera Corporation
55
32323232
32-Bit Instruction Set
2
3
2
-B
it In
st
st
ru
ctio
n
n
Se
t
t
IFRnz
Equivalent to SKPRz Instruction
Operation:
if (RA = = 0)
then begin
then begin
if (Mem16[PC + 2] is PFX)
then PC
then PC
← PC + 6
else PC
← PC + 4
end
Assembler Syntax:
IFRnz %rA
Example:
IFRnz %o3
BSR SendIt ; only call if %o3 is not 0
NOP ; (delay slot) executed in either case
Description:
Skip next instruction if RA is equal to zero. If the next instruction is PFX, then both
PFX and the instruction following PFX are skipped together.
PFX and the instruction following PFX are skipped together.
Condition Codes:
Flags: Unaffected
Instruction Format:
Rw
Instruction Fields:
A = Register index of operand RA
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
1
1
1
0
1
1
0
A
N
V
Z
C
−
−
−
−