Destination register

From NDWiki
Revision as of 16:05, 26 July 2010 by TArntsen (talk | contribs) (Destination Register description (for ROP instructions)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Destination register (abbr. <dr>) is encoded in bits 2..0 of Register Operation (ROP) instructions.

The destination registers are specified as follows:

MAC mnemonic Register name Value Octal value to add to ROP instruction
SD D register 1 18
SP Program counter 2 28
SB B register 3 38
SL L register 4 48
SA A register 5 58
ST T register 6 68
SX X register 7 78

If no destination register is specified (value: 0) the instruction is normally transformed to a NOP (no-operation). EXIT, EXR, RDIV, MIX3 are exceptions to this and RADD clears the carry indicator (C) only.

References