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


 
88 Altera Corporation
32-Bit Instruction Set
SKPRz
Skip If Register Equals 0
Operation:
if (RA==0)
then begin
if (Mem16[PC + 2] is PFX)
then PC PC + 6
else PC PC + 4
end
Assembler Syntax: SKPRz %rA
Example: SKPRz %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.
Condition Codes: Flags: Unaffected
Instruction Format: Rw
Instruction Fields: A = Register index of operand RA
1514131211109876543210
0111111 0110 A
NVZC
−−−−