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 2,883 of 4,675   
   James Harris to All   
   Re: Look back to "just for the H@ck"   
   20 Jul 17 15:46:45   
   
   From: james.harris.1@nospicedham.gmail.com   
      
   On 20/07/2017 14:43, Martin Str|mberg wrote:   
   > James Harris  wrote:   
   >> On 20/07/2017 13:59, Martin Str|mberg wrote:   
   >>> James Harris  wrote:   
   >   
   >>>> If I had a go at it I'd be itching to add some of my own. Things like   
   >>>   
   >>>> * A subsequent run from the start must also work.   
   >>>   
   >>> What does this mean?   
   >   
   >> It's just a preference that any SMC recognises it's already been M'd (!)   
   >> and doesn't try to modify itself again if reinvoked.   
   >   
   > I see (I think). However in my mind when running this base64 decoding   
   > .COM program, a reinvokation is me typing hello_c.com again on the DOS   
   > command line. And as the program is freshly loaded from disk it can't   
   > have been modified (by itself).   
      
   Agreed. And most use cases would be exactly as you describe. I mentioned   
   it only as a preference for when there's no choice but to modify code,   
   i.e. to ensure that it won't try to modify itself again, such as might   
   be the case if it were to be part of a larger system.   
      
      
   --   
   James Harris   
      
   --- 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