News:

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

Does GoAsm have a ASSUME statement?

Started by alanabbott, July 21, 2008, 03:47:46 PM

Previous topic - Next topic

alanabbott

I'm looking for the equivalent to USING in /370 Assembler.
I want to make the fields of external structures symbolically addressable in the code of DLLs that will be dynamically loaded. The actual structures will be in the calling binaries that will be independently linked.

Alan

Vortex

Hi alanabbott,

GoAsm doesn not support the ASSUME statement. Reading values from structures is similar to MASM.

From GoAsm Manual :

MOV ESI,[EBP+14h]                 ;get the pointer to the OFNOTIFY structure
MOV EAX,[ESI+OFNOTIFY.hdr.idFrom]
MOV EDX,[ESI+OFNOTIFY.pszFile]