News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Assembler time type query..?

Started by Ficko, June 21, 2010, 07:20:11 AM

Previous topic - Next topic

dedndave

look at the bright side...
if i wrote 64 macros, i'd probably have 256 errors   :P

jj2007

News from JWasm - the following problem has been fixed:

include \masm32\include\masm32rt.inc

GetArgType MACRO arg
LOCAL version$
if @Version eq 615
version$ equ <JWasm>
else
version$ equ <Masm>
endif
tmp$ CATSTR <The_arg = >, <arg>
% echo tmp$
if type(arg) eq REAL4
% echo version$ says it's a REAL4
elseif (type(arg) eq DWORD) or (type(arg) eq SDWORD)
% echo version$ says it's a DWORD, congrats!!
endif
ENDM

.code
start:
GetArgType dword ptr [edx]
.err
exit

end start


If only Microsoft would fix their bugs so speedily ::)