Added bit shift instructions.

SHL and SHR treat A and B as a 16 bit circular shift register and rotates them either left or right.
This commit is contained in:
Anachronaut
2024-10-30 16:06:33 -04:00
committed by GitHub
parent a58fb3d694
commit c64f097810
3 changed files with 21 additions and 1 deletions
+2
View File
@@ -22,6 +22,8 @@ Instruction instruction_set[] = {
{0x06, "XOR"},
{0x07, "NOTA"},
{0x08, "NOTB"},
{0x09, "SHL"},
{0x0A, "SHR"},
// Branch Operations:
{0x10, "BRI"},
{0x11, "BRQ"},