Reply to post: Re: "crash-landings[1] we had when I was a programmer was writing self-modifying code."

Q. What's today's top language? A. Python... no, wait, Java... no, C

Dagg

Re: "crash-landings[1] we had when I was a programmer was writing self-modifying code."

From what I remember the original platform that COBOL was developed for had no stack so the perform start through end was implemented by overwriting the end label with a jump instruction to return to just after the original perform.

The other major gotcha as a sort of self modifying code. This was the jump into an overlay when the wrong overlay was loaded.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019