consolidate encoding types

This commit is contained in:
Arthur Lu
2022-08-20 12:50:06 -07:00
parent 8e6962ad4d
commit 770f6eb8cc
2 changed files with 35 additions and 42 deletions

View File

@@ -49,9 +49,9 @@ op_codes = {
'LDI': 0b1_0000_0000,
'PUT': 0b0_0000_0000,
'GET': 0b0_0001_0000,
'LDW': 0b0_0010_0000,
'STW': 0b0_0011_0000,
'NXT': 0b0_0100_0000,
'LDW': 0b0_0010_1000,
'STW': 0b0_0011_1000,
'NXT': 0b0_0100_1000,
'CLB': 0b0_0101_0000,
'ADD': 0b0_0110_0000,
'AND': 0b0_0111_0000,