From Intellivision Wiki
Revision as of 08:54, 4 December 2010 by Mr z (talk | contribs) (Protected "MVO@" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
Jump to: navigation, search
Instruction NameMove Out Indirect
CP1610 Clock Cycles9
Opcode Range$0248-$026F
Input FlagsNone
Output FlagsNone

The Move Out Indirect (MVO@) instruction copies the value in the specified source register to the address contained by the specified address register. Note that if the address register specified is R4-R7 (the auto-incrementing registers), then the value in the address register will be incremented by one after the value in the source register has been stored at the designated address.

The "PSHR Rx" instruction is an alias for "MVO@ Rx, R6".

where: sss indicates the register containing the value to move such that: sss == 000 indicates register R0 sss == 001 indicates register R1 sss == 010 indicates register R2 sss == 011 indicates register R3 sss == 100 indicates register R4 sss == 101 indicates register R5 sss == 110 indicates register R6 sss == 111 indicates register R7
aaa indicates the register containing the address such that: aaa == 000 indicates direct mode MVO instruction aaa == 001 indicates register R1 aaa == 010 indicates register R2 aaa == 011 indicates register R3 aaa == 100 indicates register R4 aaa == 101 indicates register R5 aaa == 110 indicates register R6, which operates in stack mode aaa == 111 indicates register R7, alias for immediate mode MVOI