EXR

From NDWiki
Revision as of 13:16, 13 August 2009 by TArntsen (talk | contribs) (EXR instruction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
EXR
Description Execute register
Format EXR <sr>
Code 140 6008
Affected IR, and according to specified instruction
Type User
Architecture ND-100, ND-110

EXR is an assembly instruction. The contents of the register specified in the sr field (bits 3-5 of the instruction) is transferred to the instruction register and then executed as an instruction.

If sr contains a memory reference instruction with P-relative addressing, the address will be relative to the value of the P register for the EXR instruction. If sr contains a JPL instruction, the L register will point to the instruction after the EXR instruction.

It is illegal to use EXR <sr> to fetch another EXR <sr> instruction. Attempting this will set the error flag Z in the status register.

References