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 4,099 of 4,675   
   aen@nospicedham.spamtrap.com to rick.c.hodgin@nospicedham.gmail.com   
   Re: small asm code (compo?)   
   23 Aug 20 22:51:17   
   
   On Sun, 23 Aug 2020 17:14:13 -0400, "Rick C. Hodgin"   
    wrote:   
   >...   
   >I would've found that bug yesterday or tomorrow. :-)   
   >   
   Yeah, it isn't Sunday every day :-)   
      
   I like the approach though, and it can easily be adapted to 3 letters:   
      
   mov ah,2ah   
   int 21h   
   mul byte [multiplier]   
   mov bx,ax   
   add bx,days   
   mov byte [bx+3],'$'   
   mov dx,bx   
   mov ah,9   
   int 21h   
   ret   
   days db "SunMonTueWedThuFriSat"   
   multiplier db 3   
   --   
   aen   
      
   --- 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