Fix handling of byte codes 250-253 (sign-extended 32-bit immediate,
extended to 64 bits) and 324 (instruction must have osize 64).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
/* ----------------------------------------------------------------------- *
*
- * Copyright 1996-2009 The NASM Authors - All Rights Reserved
+ * Copyright 1996-2010 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
break;
}
+ case4(0250):
+ if (s_field_for == op1) {
+ opx->offset = gets8(data);
+ data++;
+ } else {
+ opx->offset = gets32(data);
+ data += 4;
+ }
+ break;
+
case4(0260):
{
int vexm = *r++;
break;
case 0324:
- if (!(ins->rex & (REX_P|REX_W)) || osize != 64)
+ if (osize != 64)
return false;
o_used = true;
break;