News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

MASM 32 for Win32

Started by sukubba, August 14, 2014, 02:21:54 PM

Previous topic - Next topic

sukubba

Hi guys and gals.
Please explain the assignment of symbols "@@" in the code:


@@lPar:      dword
       mov       eax,[@@msg]
       cmp       eax,WM_COMMAND
       je       @@command
       cmp       eax,WM_DESTROY
       jne       @@default
       call       PostQuitMessage,       0
       xor       eax,eax
       jmp       @@ret

hutch--

In this code the prefixed @@ is just part of the label name. In MASM you have what are called anonymous labels that are written as "@@:" which take a special reference "jmp @B" to jump to the previous @@: label or "jmp @F" to jump to the next @@: label.

sukubba