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,718 of 4,675   
   Alex McDonald to R.Wieser   
   Re: String literals in asm source code   
   31 Dec 18 10:46:37   
   
   From: alex@nospicedham.rivadpm.com   
      
   On 31-Dec-18 08:33, R.Wieser wrote:   
   > Alex,   
   >   
   >> and I don't think the use proposed is considered or appropriate   
   >   
   > Personally I think its *very* apropriate.   Doing away with scores of   
   > unwanted, one-off text labels.   
      
   With all the messages buried in the source stream, managing them becomes   
   difficult at scale or if multiple target languages are to be supported.   
      
   >   
   > Similiar to the special "jump {x}unnamed labels forward/backward"   
   > pseudo-labels.   Which where a godsend when the relative jumps still only   
   > had a range of +/- 128 bytes.  You know, conditional jumps over a long(er)   
   > jump, or even for short loops.   
   >   
   > So yes, our mileages seem to vary. :-)   
      
   Labels aren't text messages. There are several use cases for the =X   
   operand here. Hypothetically   
      
   label: mov eax, =c"message text"   
           mov ebx, =a(label)   
      
   The first is only appropriate for a very small source program or for   
   strings that don't require much management. The second (the A operator   
   is an address) is appropriate regardless of scale; labels don't in   
   general need any management.   
      
      
   --   
   Alex   
      
   --- 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