Excalibur electronic A-MNL-NIOSPROG-01.1 DJ Equipment User Manual


 
56 Altera Corporation
32-Bit Instruction Set
IFRz
Equivalent to SKPRnz Instruction
Operation:
if (RA ! = 0)
then begin
if (Mem16[PC + 2] is PFX)
then PC PC + 6
else PC PC + 4
end
Assembler Syntax: IFRz %rA
Example: IFRz %g3
BSR SendIt ; only call if %g3 is zero
NOP ; (delay slot) executed in either case
Description: Skip next instruction if RA is not zero. If the next instruction is PFX, then both PFX
and the instruction following PFX are skipped together.
Condition Codes: Flags: Unaffected
Instruction Format: Rw
Instruction Fields: A = Register index of operand RA
1514131211109876543210
011111 11010 A
NVZC
−−−−