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,137 of 4,675   
   Bernhard Schornak to Melzzzzz   
   Re: sys_read from stdin   
   30 Nov 17 03:28:55   
   
   From: schornak@nospicedham.web.de   
      
   Melzzzzz wrote:   
      
      
   > On 2017-11-29, Richmond  wrote:   
   >> Bernhard Schornak  writes:   
   >>   
   >>>>         MOV AL,[charbuffer_in]   
   >>>>         MOV AH,0   
   >>>   
   >>>   
   >>> This   
   >>>   
   >>>           MOVZB EAX, [charbuffer_in]   
   >>>   
   >>   
   >> I couldn't get that to assemble. After some trial and error I ended up   
   >> with:   
   >>   
   >> MOVZX AX,[charbuffer_in]   
   >>   
   >> Is that what you meant?   
   >   
   > AT&T syntax.   
      
      
   Hit and sunken! ;)   
      
   Actually it's a (bad) translation from   
      
   movzb 0x00(buffer), %eax   
      
   to LETNi syntax.   
      
      
   Greetings from Augsburg   
      
   Bernhard Schornak   
      
   --- 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