Difference between revisions of "MVI"
m (→MVI doesn't store values in memory... case'n'paste error?) |
|||
Line 24: | Line 24: | ||
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 address to read the value from |
Revision as of 19:34, 12 January 2005
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 register containing the value to move 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 address to read the value from