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,518 of 4,675   
   bilsch to R.Wieser   
   Re: a variable definition is causing an    
   28 Jul 18 00:02:03   
   
   From: king621@nospicedham.comcast.net   
      
   On 07/27/2018 12:38 AM, R.Wieser wrote:   
   > bilsch,   
   >   
   >>>> mov [si+6],word[js2nd]   
   >   
   >> I said that wrong.  I meant   
   >> mov ax,word[js2nd]   
   >> mov [si+6],ax   
   >   
   > Ah, ok.   
   >   
   > To be honest, I was wondering if your assembler maybe supported constructs   
   > like that memory-to-memory one, and was interested in how it would convert   
   > it into machine instructions - without generating unwanted side effects.   
   >   
   > Regards,   
   > Rudy Wieser   
   >   
   >   
        97   
        98 00000000 BE0000                  	mov si,0   
        99 00000003 C7041000                	mov word[si],16   
       100 00000007 C744020100              	mov word[si+2],1   
       101 0000000C C744040000              	mov word[si+4],0   
       102 00000011 C74406[9D02]            	mov word[si+6],js2nd   
       103 00000016 C744080000              	mov word[si+8],0   
       104 0000001B C7440A0000              	mov word[si+10],0   
       105 00000020 C7440C0000              	mov word[si+12],0   
       106 00000025 C7440E0000              	mov word[si+14],0   
       107 0000002A B280                    	mov dl,0x80   
       108 0000002C B442                    	mov ah,0x42   
       109 0000002E CD13                    	int 0x13   
       110   
      
   The assembler is NASM   
      
   --- 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