int m_dbra(WORD inst, WORD siz)
{
- VALUE v;
+ uint32_t v;
siz = siz;
inst |= a0reg;
//
int m_br(WORD inst, WORD siz)
{
- VALUE v;
+ uint32_t v;
if (a0exattr & DEFINED)
{
//
int m_movem(WORD inst, WORD siz)
{
- VALUE eval;
+ uint32_t eval;
WORD i;
WORD w;
WORD rmask;
if ((a0exattr & TDB) != cursect)
return error(rel_error);
- VALUE v = a0exval - (sloc + 2);
+ uint32_t v = a0exval - (sloc + 2);
D_word(inst);
D_long(v);
if ((a0exattr & TDB) != cursect)
return error(rel_error);
- VALUE v = a0exval - (sloc + 2);
+ uint32_t v = a0exval - (sloc + 2);
// Optimize branch instr. size
if (siz == SIZL)
{
CHECK00;
- VALUE v;
+ uint32_t v;
WORD condition = inst & 0x1f; // Grab condition sneakily placed in the lower 5 bits of inst
inst &= 0xffe0; // And then mask them out - you ain't seen me, roit?
return error(undef_error);
if (a0exval + 0x8000 > 0x10000)
- return error("");
+ return error("");
if (*tok != EOL)
return error(extra_stuff);
D_word((a0exval & 0xffff));
-
+
return OK;
// hardcoded in 68ktab but there is aliasing
// between 68030 and 68040 opcode. So we just
// set the 3 lower bits to 1 in pflushn inside
- // 68ktab and detect it here.
+ // 68ktab and detect it here.
inst = (inst & 0xff8) | 8;
inst |= (tok[1] & 7) | (5 << 8);
if (tok[3] != EOL)
// a 68020 + 68551 socket and since this is
// an Atari targetted assembler....
CHECKNO30;
-
+
inst |= am1;
D_word(inst);
D_word(inst);
ea1gen(siz);
-
+
return OK;
}
if ((a1exattr & TDB) != cursect)
return error(rel_error);
- VALUE v = a1exval - sloc;
+ uint32_t v = a1exval - sloc;
if ((v + 0x8000) > 0x10000)
return error(range_error);