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


 
78 Altera Corporation
32-Bit Instruction Set
RESTORE
Restore Caller’s Register Window
Operation:
CWP CWP +1
if (old-CWP = = HI_LIMIT)
then TRAP #2
Assembler Syntax: RESTORE
Example: RESTORE ; bump up the register window
Description: Moves CWP up by one position in the register file. If CWP is equal to HI_LIMIT
(from the WVALID register) before the RESTORE instruction, then a window-
overflow trap (TRAP #2) is generated.
Condition Codes: Flags: Unaffected
Instruction Format: w
Instruction Fields: None
1514131211109876543210
0111110110100000
NVZC
−−−−