Excalibur electronic A-MNL-NIOSPROG-01.1 用户手册

下载
页码 122
54
Altera Corporation
32-Bit Instruction Set
IF1
Equivalent to SKP0 Instruction
Operation:
if (RA[IMM5] = = 0)
then begin
if (Mem16[PC + 2] is PFX)
then PC
← PC + 6 
else PC
← PC + 4
end
Assembler Syntax:
IF1 %rA,IMM5
Example:
ADDI %g0,1 ; include if bit 7 was set
Description:
Skip next instruction if the single bit RA[IMM5] is 0. If the next instruction is PFX, 
then both PFX and the instruction following PFX are skipped together.
Condition Codes:
Flags: Unaffected
Instruction Format:
Ri5
Instruction Fields:
A = Register index of operand RA
IMM5 = 5-bit immediate value
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
1
0
0
IMM5
A
N
V
Z
C