The MASM Forum

64 bit assembler => UASM Assembler Development => Topic started by: aw27 on October 11, 2017, 08:28:12 PM

Title: Instructions that simply disappear
Post by: aw27 on October 11, 2017, 08:28:12 PM
Syntax errors are not reported and instructions simply disappear (x86 and x64).
mov eax 1
mov eax ebx
mov eax myvalue
etc.

Title: Re: Instructions that simply disappear
Post by: johnsa on October 11, 2017, 08:36:23 PM
Does the same happen in jwasm ?
(Just to see if this has always been the case or something we introduced) :)
Title: Re: Instructions that simply disappear
Post by: aw27 on October 11, 2017, 08:43:17 PM
Jwasm reports error.  ;)
Title: Re: Instructions that simply disappear
Post by: jj2007 on October 11, 2017, 08:44:25 PM
UASM v2.38, Aug  2 2017, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

*** MasmBasic version 08.10.2017 ***
Tmp_File.asm(8) : Error A2151: Missing operator in expression


For all three "mov attempts". But....:UASM v2.41, Oct  3 2017, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

*** MasmBasic version 08.10.2017 ***
Tmp_File.asm: 9 lines, 2 passes, 107 ms, 0 warnings, 0 errors


Version 2.4 of 25 September is OK, i.e. it throws errors. So the question is when exactly that crept in 8)
Title: Re: Instructions that simply disappear
Post by: johnsa on October 11, 2017, 08:59:04 PM
I think i know.. there were some parser changes to allow some situations that were previously unsupported with extra white space.. it is probably that :) Will fix asap
Title: Re: Instructions that simply disappear
Post by: johnsa on October 12, 2017, 12:01:18 AM
Found and fixed, update shortly :)