diff options
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'); |