Altera Corporation 87
3232323232-Bit Instruction Set
2
32-Bit Instruction
Set
SKPRnz

Skip If Register Not Equal To 0

Operation: if (RA != 0)
then begin
if (Mem16[PC+ 2 ] is PFX)
then PC PC + 6
else PCPC + 4
end
Assembler Syntax: SKPRnz %rA
Example: SKPRnz %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
−−−−