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
|
* Motorola 68000/68010 keywords
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
0, EXTERN, 0, ".globl",
|
||||||
|
|
||||||
0, SIZE, SIZE_B, ".b",
|
0, SIZE, SIZE_B, ".b",
|
||||||
0, SIZE, SIZE_W, ".w",
|
0, SIZE, SIZE_W, ".w",
|
||||||
0, SIZE, SIZE_L, ".l",
|
0, SIZE, SIZE_L, ".l",
|
||||||
|
|
|
@ -23,16 +23,12 @@ ea_1(sz, bits)
|
||||||
if (bits)
|
if (bits)
|
||||||
serror("bad addressing categorie");
|
serror("bad addressing categorie");
|
||||||
if (flag & FITW)
|
if (flag & FITW)
|
||||||
Xfit (
|
Xfit (fitw(exp_1.val) ||
|
||||||
! fitw(exp_1.val)
|
(mrg_1 == 074 && fit16(exp_1.val))
|
||||||
&&
|
|
||||||
(mrg_1 != 074 || ! fit16(exp_1.val))
|
|
||||||
) ;
|
) ;
|
||||||
if (flag & FITB) {
|
if (flag & FITB) {
|
||||||
Xfit (
|
Xfit (fitb(exp_1.val) ||
|
||||||
! fitb(exp_1.val)
|
(mrg_1 == 074 && fit8(exp_1.val))
|
||||||
&&
|
|
||||||
(mrg_1 != 074 || ! fit8(exp_1.val))
|
|
||||||
);
|
);
|
||||||
if (mrg_1 == 074)
|
if (mrg_1 == 074)
|
||||||
exp_1.val &= 0xFF;
|
exp_1.val &= 0xFF;
|
||||||
|
|
Loading…
Reference in a new issue