Added *REG addressing mode, fixed a bug

This commit is contained in:
ceriel 1987-05-18 10:40:19 +00:00
parent 9e72c25a0f
commit d2c6f22e32
2 changed files with 3 additions and 1 deletions

View file

@ -88,6 +88,8 @@ opr2
op2
: ari
{ $$ = ( RDEFMODE | $1); }
| '*' REG
{ $$ = ( RDEFMODE | $2); }
| ainc
{ $$ = ( AIMODE | $1 ); }
| adec

View file

@ -73,7 +73,7 @@ ejump(opc, exp) expr_t exp; {
emit2((opc^0400) | 04);
}
exp_1.val = exp.val;
exp_1 = exp;
im1flag = 1;
jump(0100,067);
# ifdef THREE_PASS