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,395 of 4,675   
   luserdroog to All   
   indexing sp in 8086   
   11 May 18 16:46:10   
   
   From: luser.droog@nospicedham.gmail.com   
      
   Hi everyone.   
      
   I've been casually reading jonesforth and trying to translate some   
   of the 386 code down to 8086. I've run into some difficulty with   
   this instruction:   
      
       mov 4(%esp),%eax   
      
   There doesn't appear to me to be any 8086 instruction that does this.   
   Unless I'm missing something it needs an SIB byte which was introduced   
   later.   
      
   But that strikes me a very surprising conclusion. Is there a way to   
   get (SP)+immed8 from some obscure encoding that I'm just not seeing?   
      
   --- 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