summaryrefslogtreecommitdiff
path: root/assemble.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-04-30 21:05:55 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-04-30 21:05:55 +0000
commit09f6acbb75d7f58aa78691844620b85b6c44919b (patch)
tree24e2d6838a266ff026a5e84da16e9deb2baa155e /assemble.c
parentb1a0143a0db46de295e647975b08aa9b6a00fef9 (diff)
downloadnasm-09f6acbb75d7f58aa78691844620b85b6c44919b.tar.gz
NASM 0.98.21nasm-0.98.21
Diffstat (limited to 'assemble.c')
-rw-r--r--assemble.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/assemble.c b/assemble.c
index f560112e..ff308f61 100644
--- a/assemble.c
+++ b/assemble.c
@@ -552,7 +552,8 @@ static int is_sbyte (insn *ins, int op, int size)
int ret;
ret = !(ins->forw_ref && ins->oprs[op].opflags ) && /* dead in the water on forward reference or External */
- (optimizing>0 || !(ins->oprs[op].type & (BITS16|BITS32))) &&
+ optimizing>=0 &&
+/* !(ins->oprs[op].type & (BITS16|BITS32)) && */
ins->oprs[op].wrt==NO_SEG && ins->oprs[op].segment==NO_SEG;
v = ins->oprs[op].offset;