Added *REG addressing mode, fixed a bug
This commit is contained in:
parent
9e72c25a0f
commit
d2c6f22e32
|
@ -88,6 +88,8 @@ opr2
|
|||
op2
|
||||
: ari
|
||||
{ $$ = ( RDEFMODE | $1); }
|
||||
| '*' REG
|
||||
{ $$ = ( RDEFMODE | $2); }
|
||||
| ainc
|
||||
{ $$ = ( AIMODE | $1 ); }
|
||||
| adec
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue