X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=eagen0.c;h=88ebdb3bee2cee83a1425694a3cfd5e8b61f2cfb;hp=7ec6ccb0fcf28cdbca6156b8982e802bd0cc1f41;hb=603c75134d7911c5c6a7af38da1327f3e713d583;hpb=02523045dcb28c8f6ad794a84e32beff214be424 diff --git a/eagen0.c b/eagen0.c index 7ec6ccb..88ebdb3 100644 --- a/eagen0.c +++ b/eagen0.c @@ -65,10 +65,14 @@ int eaNgen(WORD siz) chptr_opcode[0] |= ((0x0080 >> 8) & 255); // slap in 010 bits chptr_opcode[1] |= 0x0080 & 255; // slap in 010 bits } + + if (sbra_flag) + warn("0(An) converted to (An)"); + return OK; } - if (v + 0x8000 >= 0x18000) + if ((v + 0x8000) >= 0x18000) return error(range_error); D_word(v);