added optional .w to OP_EA_D

This commit is contained in:
eck 1990-08-21 10:59:09 +00:00
parent 797f90a022
commit ba475d78a2

View file

@ -32,8 +32,11 @@ operation
} }
| BITOP ea_ea | BITOP ea_ea
{ bitop($1);} { bitop($1);}
| OP_EA_D ea ',' DREG | OP_EA_D sizedef ea ',' DREG
{ emit2($1 | mrg_2 | $4<<9); { if ($2 != SIZE_W) {
serror("illegal size");
}
emit2($1 | mrg_2 | $5<<9);
ea_2(SIZE_W, DTA); ea_2(SIZE_W, DTA);
} }
| LEA ea ',' AREG | LEA ea ',' AREG