diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index ca144ea34e..453d3a761d 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2008-01-13 H.J. Lu + + * i386-opc.h (Byte): Fix a typo. + 2008-01-12 H.J. Lu PR gas/5534 diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 63a027c290..92c3ebd9db 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -353,7 +353,7 @@ typedef struct i386_opcode_modifier be encoded in the regmem field. */ #define RegMem (EsSeg + 1) /* BYTE memory. */ -#define Byte (RegMem) +#define Byte (RegMem + 1) /* WORD memory. 2 byte */ #define Word (Byte + 1) /* DWORD memory. 4 byte */