Consider a programming language, probably something like assembly or machine code, in which the target of a GOTO instruction must be a COME FROM instruction with the address of the GOTO. If it is not, then something has gone wrong, maybe memory corruption, and the program should abort. COME FROM instructions otherwise function as no-ops. A subroutine has encoded in its header all the addresses which might call it.
A context in which something like this might be useful is a document with hierarchical text. To skip over a section, the browser needs to know exactly how many bytes to skip.
No comments:
Post a Comment