From: eck Date: Tue, 21 Aug 1990 10:59:09 +0000 (+0000) Subject: added optional .w to OP_EA_D X-Git-Tag: release-5-5~1591 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ba475d78a248d6f9df6e768bc845e0facf509e24;p=ack.git added optional .w to OP_EA_D --- diff --git a/mach/m68k2/as/mach4.c b/mach/m68k2/as/mach4.c index 1085b8cf7..a8c0c36ff 100644 --- a/mach/m68k2/as/mach4.c +++ b/mach/m68k2/as/mach4.c @@ -32,8 +32,11 @@ operation } | BITOP ea_ea { bitop($1);} - | OP_EA_D ea ',' DREG - { emit2($1 | mrg_2 | $4<<9); + | OP_EA_D sizedef ea ',' DREG + { if ($2 != SIZE_W) { + serror("illegal size"); + } + emit2($1 | mrg_2 | $5<<9); ea_2(SIZE_W, DTA); } | LEA ea ',' AREG