You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • There are ancient techniques where - on execution - (simple) executors/interpreters write stuff to the code at intended places, such as markers / return/forward addresses addresses (for returns/if-then-elses) etc. If the addresses for these intended places are off, this stuff mutilates the code. This (ancient) techniques make code though non-reentrant (for same or other threads) - see http://en.wikipedia.org/wiki/RCA_1802. DCP1802 had no stack, so the return address was written at the begin of the subroutine, and the return had to pick up this address to continue just where the call / invocation jumped of. Btw, the DCP1802 had also a BASIC interpreter. (I'm amazed that the data sheet http://www.intersil.com/content/dam/InteĀ­rsil/documents/cdp1/cdp1802ac-3.pdf is from 2008... my experience with the chip and its programming is from the 70'...)

About

Avatar for allObjects @allObjects started