Difference between revisions of "MVI"
m (→MVI doesn't store values in memory... case'n'paste error?) |
m (Protected "MVI" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
0000:0010:1000:0rrr aaaa:aaaa:aaaa:aaaa<br/> | 0000:0010:1000:0rrr aaaa:aaaa:aaaa:aaaa<br/> | ||
where: | where: | ||
− | rrr indicates the register | + | rrr indicates the destination register such that: |
− | |||
rrr == 000 indicates register R0 | rrr == 000 indicates register R0 | ||
rrr == 001 indicates register R1 | rrr == 001 indicates register R1 | ||
Line 24: | Line 23: | ||
rrr == 110 indicates register R6 | rrr == 110 indicates register R6 | ||
rrr == 111 indicates register R7<br/> | rrr == 111 indicates register R7<br/> | ||
− | aaaaaaaaaaaaaaaa indicates the address | + | aaaaaaaaaaaaaaaa indicates the source address |
Latest revision as of 08:52, 4 December 2010
Instruction Name | Move In |
Mnemonic | MVI |
CP1610 Clock Cycles | 10 |
Interruptible | Yes |
Opcode Range | $0280-$0287 |
Input Flags | None |
Output Flags | None |
The Move In (MVI) instruction copies the value at the specified address into the specified register.
Format - Decle #1 Format - Word #2 0000:0010:1000:0rrr aaaa:aaaa:aaaa:aaaa
where: rrr indicates the destination register such that: rrr == 000 indicates register R0 rrr == 001 indicates register R1 rrr == 010 indicates register R2 rrr == 011 indicates register R3 rrr == 100 indicates register R4 rrr == 101 indicates register R5 rrr == 110 indicates register R6 rrr == 111 indicates register R7
aaaaaaaaaaaaaaaa indicates the source address