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,119 of 4,675   
   Richmond to Bernhard Schornak   
   Re: sys_read from stdin   
   28 Nov 17 19:12:49   
   
   From: p1299721@nospicedham.protonmail.com   
      
   Bernhard Schornak  writes:   
      
   > Is this a single threaded OS? Otherwise, you should create a   
   > stack frame to separate your code from the previous and next   
   > executed function (you call some here). All 64 bit OSes have   
   > a "red zone" for temporary data   
      
   I don't know what all that means. But I am using Linux. And NASM. I did   
   get this working eventually, so I think it must be OK.   
      
      
   >>         MSPRINT "Byte read is "   
   >   
   >   
   > Does your assembler accept plain text as instruction? AFAIK,   
   > "MSPRINT" is no valid opcode.   
      
   MSPRINT is a macro which I use for debugging. It just prints out the   
   string.   
      
   > Don't know what PWORD() does, but you stack wasn't aligned to a   
   > paragraph boundry until the execution of the final RET...   
      
   Oh well, all that must be the icing on the cake. I have just to get   
   things working at the moment. My code is nothing like efficient, but   
   that is not the point of it.   
      
   --   
   ~   
      
   --- 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