News for hackers. Stuff that matters.
Re:The Little C Function From Hell by kragen on Tuesday June 19, 2012 @09:42PM (#4135226)
If your CPU supports keeping function return addresses on a stack that you can push other things onto, you can do an indirect jump by pushing the address you want to jump to and then "returning" to it. That's a lot easier than self-modifying code or massive switch statements, and just as easy on Harvard as on von Neumann architectures.

There are no comments on this comment yet.