diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-05-08 09:49:43 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-05-08 09:49:43 +1000 |
commit | c1d5bf8ab7648418fa7120ea4868205f3cf7e857 (patch) | |
tree | 1ec819cd36dbf4793e62f375eb4a98f3c60f2b26 /src/interpreter.c | |
parent | 093e29e4544f16f7058b6e8cf824ef789f864410 (diff) |
instructions done, plus minor changes
Diffstat (limited to 'src/interpreter.c')
-rw-r--r-- | src/interpreter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter.c b/src/interpreter.c index 96c4617..a51ade1 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -106,7 +106,7 @@ int main(int argc, char *argv[]){ c += dCharToNum(getc(stdin)); address x = 0x0000; char z = 0x00; - for(int i = ((fAddressGetLength(*getInstructionTableAddressing(c)) * 2) - 2); i > 0; i--) { + for(int i = ((getInstructionLength(c) * 2) - 2); i > 0; i--) { do { z = getc(stdin); } while (z == ' ' || z == '\t'); |