Difference between revisions of "Notes:RealQ Architecture/1-Byte operations"
From Maths
(Created page with "{| class="wikitable" border="1" |- ! Operation ! colspan="8" | bits ! Comment ! Caveats |- | {{C|LOAD r1,r2}} | colspan="2" | {{C|00}} | cols...") |
m |
||
Line 13: | Line 13: | ||
| {{C|r1}} '''must''' be 16bit, {{C|1=sr2=11}} is unused. | | {{C|r1}} '''must''' be 16bit, {{C|1=sr2=11}} is unused. | ||
| | | | ||
+ | |- | ||
+ | | ''(Unused)'' | ||
+ | | colspan="2" | {{C|00}} | ||
+ | | colspan="2" | {{C|xx}} | ||
+ | | colspan="2" | {{C|xx}} | ||
+ | | colspan="2" | {{C|11}} | ||
|- | |- | ||
| {{C|[[Notes:RealQ instruction MOV|MOV]] r1,r2}} | | {{C|[[Notes:RealQ instruction MOV|MOV]] r1,r2}} |
Revision as of 19:21, 2 October 2015
Operation | bits | Comment | Caveats | |||||||
---|---|---|---|---|---|---|---|---|---|---|
LOAD r1,r2 | 00 | r1 | r2 | sr2 | r1 must be 16bit, sr2=11 is unused. | |||||
(Unused) | 00 | xx | xx | 11 | ||||||
MOV r1,r2 | 01 | r1 | r2 | sr | registers must have same size-code[N 1] | |||||
01 | xx | xx | 11 | (see: SWP) |
Opcode notes
- ↑ That is must both be 16bit, low or high