public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
797f90a
)
added optional .w to OP_EA_D
author
eck
<none@none>
Tue, 21 Aug 1990 10:59:09 +0000
(10:59 +0000)
committer
eck
<none@none>
Tue, 21 Aug 1990 10:59:09 +0000
(10:59 +0000)
mach/m68k2/as/mach4.c
patch
|
blob
|
history
diff --git
a/mach/m68k2/as/mach4.c
b/mach/m68k2/as/mach4.c
index
1085b8c
..
a8c0c36
100644
(file)
--- 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