Added *REG addressing mode, fixed a bug
This commit is contained in:
parent
aaea94c9ed
commit
92c5704820
@ -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…
x
Reference in New Issue
Block a user