15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
instruction | predicate | set flags | target register | source register |
Loads the literal constant that follows the instruction into the register specified in bits 7-4 of the opcode (i.e., the target register). The instruction moval r0, 0x1234 might then be assembled as 0E00 1234, or as binary, 0000 1110 0000 0000, 0001 0010 0011 0100.
bottom of memory | |
0x0000 | Read-only memory |
... | |
0x3FFF | |
0x4000 | Console output device |
0x4100 0x4103 | Video framebuffer |
0x8000 | RAM |
... | |
0xFFFF |