10-09-2014, 05:33 PM
I updated the IS a bit:
Code:
Key: [8-bit word], {op field}
[{ifT}{3-bit flag adr}] [{jmp adr}] 01001xxx aaaaaaaa
[{ifF}{3-bit flag adr}] [{jmp adr}] 01000xxx aaaaaaaa
[{jump}] [{jump address}] 00001--- aaaaaaaa
[{call}] [{function address}] 00010--- aaaaaaaa
[{prog}] [{program address}] 00011--- aaaaaaaa
[{return}] 00100---
[{halt}] 00000---
[{read}{periph adr}] [{adr}] 00110xxx aaaaaaaa
[{ptrR}{ptr address}] 00111xxx
[{regread}{reg address}] 10000xxx
[{const}] [{imm}] 10001--- aaaaaaaa
[{pop}] 10010---
[{add}{to reg address}] 10100xxx
[{a-b}{to reg address}] 10101xxx
[{b-a}{to reg address}] 10110xxx
[{xor}{to reg address}] 10111xxx
[{xnor}{to reg address}] 11000xxx
[{or}{to reg address}] 11001xxx
[{nor}{to reg address}] 11010xxx
[{and}{to reg address}] 11011xxx
[{nand}{to reg address}] 11100xxx
[{!a}{to reg address}] 11101xxx
[{SHR}{to reg address}] 11110xxx
[{regwrite}{to reg adr}] 11111xxx
[{ptrE}{ptr address}] 10011xxx
[{ptrW}{ptr address}] 01100xxx
[{write}{periph adr}] [{adr}] 01101xxx aaaaaaaa