]> Shamusworld >> Repos - rmac/blobdiff - eagen0.c
Version bump. :-)
[rmac] / eagen0.c
index 7ec6ccb0fcf28cdbca6156b8982e802bd0cc1f41..88ebdb3bee2cee83a1425694a3cfd5e8b61f2cfb 100644 (file)
--- 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);