News:

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

SIZEOF and local buffer.

Started by PauloH, April 30, 2009, 01:15:52 AM

Previous topic - Next topic

jorgon

Meanwhile I have altered GoAsm so that it reports the correct size of the buffer in the following code as 256:-

MyWndProc FRAME
LOCAL Buffer[256]:B
MOV EAX,SIZEOF Buffer
RET
ENDF


The latest GoAsm (Version 0.56.6b) is available from here.

Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

PauloH

QuoteMeanwhile I have altered GoAsm so that it reports the correct size of the buffer in the following code as 256:-

Thank you for your programming effort and dedication to goasm. I think the code consistence is improved with this new sizeof behaviour.

Kind regards.