
8086 Object Module Formats | Version 4.!.J |
2.4
Diagram in (2.1) can be used.
LOCATION: OFFSET
PSEG: TARGET (this is the most common choice)
TARGET: SI(8) ,dl
or SI(8) where dl is applied to the LOCATION
Note that this fixup is exactly the same as the
NOTE: LOCATION could also be HIBYTE, if the source code were. for
MOV AH.HIGH(SYM)
Note that. unlike the 8080 R & L, this fixup will take into account the final location of SYM. If SYM has the value 190H as an offset within its LSEG which is to be LOCATE'd at 3680H relati'le to tne PSEG. we have the followinq:
8080 | ~ lit L: | HIGH(SYM) = 1 |
| LOCATE at 3680H => LOCATION | IH |
+HIGH (3680H) = 3~~
37H
~ote that this value is not correct!
8 qaf, R 5r L:
F'ixup record: 2 bItes containinq 190H
LeCATE at 3~80H => Fixup value: 190H
+Base Address 3~~0H
39l~H
38H is then applied to the LOCATIO~ (HIBYT~)
118