diff --git a/SOURCE/AVX.INC b/SOURCE/AVX.INC index 91b2f92..9bd1f1a 100644 --- a/SOURCE/AVX.INC +++ b/SOURCE/AVX.INC @@ -1354,6 +1354,8 @@ kmov_instruction: jmp nomem_instruction_ready kmov_f2_w1: or [rex_prefix],8 + cmp [code_type],64 + jne illegal_instruction kmov_f2: mov [opcode_prefix],0F2h jmp nomem_instruction_ready diff --git a/SOURCE/VERSION.INC b/SOURCE/VERSION.INC index 7943cee..39da377 100644 --- a/SOURCE/VERSION.INC +++ b/SOURCE/VERSION.INC @@ -33,7 +33,7 @@ ; cannot simply be copied and put under another distribution licence ; (including the GNU Public Licence). -VERSION_STRING equ "1.71.61" +VERSION_STRING equ "1.71.62" VERSION_MAJOR = 1 VERSION_MINOR = 71 diff --git a/SOURCE/X86_64.INC b/SOURCE/X86_64.INC index 7692159..6cf0cda 100644 --- a/SOURCE/X86_64.INC +++ b/SOURCE/X86_64.INC @@ -6970,6 +6970,10 @@ store_instruction: jnz address_immediate_sib_32bit test ch,not 88h jnz invalid_address_size + test edx,80000000h + jz address_immediate_sib_store + cmp [address_high],0 + je address_immediate_sib_nosignextend address_immediate_sib_store: call store_instruction_code mov al,100b diff --git a/WHATSNEW.TXT b/WHATSNEW.TXT index c753153..c4a89e7 100644 --- a/WHATSNEW.TXT +++ b/WHATSNEW.TXT @@ -2,6 +2,13 @@ Visit http://flatassembler.net/ for more information. +version 1.71.62 (May 08, 2017) + +[-] Minor correction in "kmovq" error checking. + +[-] Minor fix in the encoding of some absolute addresses in long mode. + + version 1.71.61 (May 04, 2017) [-] Minor correction in "vcvtpd2dq" error checking.