Fix missing cmp field

This commit is contained in:
Augusto Gunsch 2020-11-14 12:32:47 -03:00
parent f74ee3fb41
commit 8d4f9fc274
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#define INST_LIMIT 32768
#define CMP_SIZE 8
#define CMP_TABLE_SIZE 27
#define CMP_TABLE_SIZE 28
const char* cmptable[] =
{
"0", "0101010",
@ -36,6 +36,7 @@ const char* cmptable[] =
"D|A", "0010101",
"M", "1110000",
"!M", "1110001",
"-M", "1110011",
"M+1", "1110111",
"M-1", "1110010",
"D+M", "1000010",