Merge pull request #7 from ksherlock/patch_10

fix entry opcode
This commit is contained in:
MikeW50 2018-03-25 15:25:44 -06:00 committed by GitHub
commit 37e68cdcbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1169,7 +1169,8 @@ else switch (opcode) {
DoExpr(); DoExpr();
break; break;
case OPENTRY: /* handle entry opcode */ case OPENTRY: /* handle entry opcode */
printf("ENTRY ($F4) | "); p1 = fgeti(input);
printf("ENTRY ($F4) | %02X :", (int)p1);
PutNumber(); PutNumber();
printf(" : "); printf(" : ");
PutSymbol(); PutSymbol();
@ -2028,7 +2029,8 @@ switch(op) {
count = count + 6; count = count + 6;
break; break;
case OPENTRY: /* handle entry opcode */ case OPENTRY: /* handle entry opcode */
printf("! ENTRY ($F4) | "); p1 = fgeti(input);
printf("! ENTRY ($F4) | %02X :", (int)p1);
PutNumber(); PutNumber();
printf(" : "); printf(" : ");
PutSymbol(); PutSymbol();