News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Instructions that simply disappear

Started by aw27, October 11, 2017, 08:28:12 PM

Previous topic - Next topic

aw27

Syntax errors are not reported and instructions simply disappear (x86 and x64).
mov eax 1
mov eax ebx
mov eax myvalue
etc.


johnsa

Does the same happen in jwasm ?
(Just to see if this has always been the case or something we introduced) :)

aw27


jj2007

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)

johnsa

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