home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,704 of 4,675   
   Frank Kotler to All   
   Re: Nasm macros and labels   
   22 Dec 18 17:20:22   
   
   From: fbkotler@nospicedham.myfairpoint.net   
      
   On 12/22/2018 04:19 PM, James Harris wrote:   
      
   Hi James,   
      
   This works for me:   
      
   %macro say 1+   
        section .data   
        %%str db %1   
        db 0   
        section .text   
        push %%str   
        call putz   
   %endmacro   
      
   section .text   
    other code   
   say "Opening dovecot", LF   
    more code   
      
   This does have drawbacks (duplicate strings, etc.). I don't find it a   
   problem. (posts all your messages!)   
      
   Best,   
   Frank   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca