| 1. |
What Are Forward References? |
|
Answer» It is a reference to a label that is defined later in a program. Consider the statement 10 1000 STL RETADR The first instruction contains a FORWARD reference RETADR. If we ATTEMPT to TRANSLATE the program line by line, we will unable to process the statement in line10 because we do not know the address that will be assigned to RETADR .The address is assigned later(in line 80) in the program. It is a reference to a label that is defined later in a program. Consider the statement 10 1000 STL RETADR The first instruction contains a forward reference RETADR. If we attempt to translate the program line by line, we will unable to process the statement in line10 because we do not know the address that will be assigned to RETADR .The address is assigned later(in line 80) in the program. |
|