Reply to post: Re: Would also bork legitimate code

RIP ROP: Intel's cunning plot to kill stack-hopping exploits at CPU level

Number6

Re: Would also bork legitimate code

Back in the days of the 8-bit processor, I remember writing code (in assembler!) that would implement a 16-bit jump by pushing the target onto the stack and doing a ret. Not all processors needed it, the 8080/Z80 has a JP (HL) instruction so that one didn't need to involve the stack, although it also had the EX (SP),HL instruction to make it easy to manipulate the stack content.

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