Added .globl, fix in Xfit call
This commit is contained in:
commit
c5d9d997b0
2 changed files with 6 additions and 8 deletions
|
@ -8,6 +8,8 @@
|
|||
* Motorola 68000/68010 keywords
|
||||
*/
|
||||
|
||||
0, EXTERN, 0, ".globl",
|
||||
|
||||
0, SIZE, SIZE_B, ".b",
|
||||
0, SIZE, SIZE_W, ".w",
|
||||
0, SIZE, SIZE_L, ".l",
|
||||
|
|
|
@ -23,16 +23,12 @@ ea_1(sz, bits)
|
|||
if (bits)
|
||||
serror("bad addressing categorie");
|
||||
if (flag & FITW)
|
||||
Xfit (
|
||||
! fitw(exp_1.val)
|
||||
&&
|
||||
(mrg_1 != 074 || ! fit16(exp_1.val))
|
||||
Xfit (fitw(exp_1.val) ||
|
||||
(mrg_1 == 074 && fit16(exp_1.val))
|
||||
) ;
|
||||
if (flag & FITB) {
|
||||
Xfit (
|
||||
! fitb(exp_1.val)
|
||||
&&
|
||||
(mrg_1 != 074 || ! fit8(exp_1.val))
|
||||
Xfit (fitb(exp_1.val) ||
|
||||
(mrg_1 == 074 && fit8(exp_1.val))
|
||||
);
|
||||
if (mrg_1 == 074)
|
||||
exp_1.val &= 0xFF;
|
||||
|
|
Loading…
Reference in a new issue