MVO@

From Intellivision Wiki

(Difference between revisions)
Jump to: navigation, search
Line 31: Line 31:
                   aaa == 100    indicates register R4
                   aaa == 100    indicates register R4
                   aaa == 101    indicates register R5
                   aaa == 101    indicates register R5
-
                   aaa == 110    indicates register R6
+
                   aaa == 110    indicates register R6, which operates in [[Stack Mode|stack mode]]
                   aaa == 111    indicates register R7, alias for [[Immediate Mode|immediate mode]] [[MVOI]]<br/>
                   aaa == 111    indicates register R7, alias for [[Immediate Mode|immediate mode]] [[MVOI]]<br/>

Revision as of 21:47, 7 October 2007

Instruction NameMove Out Indirect
MnemonicMVO@
CP1610 Clock Cycles9
InterruptibleNo
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.

   0000:0010:01aa:asss
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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox