Backpatching
In order to compile code for branch instructions, it is necessary to know the address in memory (relative to the location counter) of the destination of the branch. Branch instructions may be PC-relative or have absolute addresses. For forward branches the destination address will not be known when the branch is encountered. There are two approaches to this problem:
Contents    Page-10    Prev    Next    Page+10    Index