home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
JSAGE
/
ZSUS
/
PROGPACK
/
Z8020.LBR
/
ASMLNK.NZT
/
ASMLNK.NOT
Wrap
Text File
|
2000-06-30
|
4KB
|
76 lines
Note≤ oε Assembler≤ anΣ Linkers
Joσ Wright
1│ Junσ 1990
Iε ám∙ owε worδ anΣ play¼ ╔ usσ ß combinatioε oµ áassembler≤ áanΣ ì
linker≤ fo≥ variou≤ purposes«
AS═ CP/M'≤ simplσ i808░ assemble≥ AS═ .« HE╪
MA├ CP/M'≤ Macr∩ i808░ assemble≥ AS═ .« HE╪
RMA├ CP/M'≤ Relocatinτ Macr∩ assemble≥ AS═ .« RE╠
SLRMA├ SL╥ Supe≥ i808░ Macr∩ assemble≥ MA├ .« REL/HEX/COM
M8░ MicroSof⌠ 8080/Z8░ Macr∩ assemble≥ ASM/MA├/Z80 .« REL
Z80AS═ SL╥ Supe≥ Z8░ Macr∩ assemble≥ Z8░ .« REL/HEX/COM
Z80ASM╨ SL╥ Supe≥ Z8░ Virtua∞ assemble≥ Z8░ .« REL/HEX/COM
ZMA├ A∞ Hawley'≤ Z8░ Macr∩ assemble≥ Z8░ .« REL
MLOA─ Roε Fowler'≤ HE╪ filσ loade≥ HE╪ .« COM/BIN
LIN╦ CP/M'≤ Linke≥ RE╠ .« COM/SRL/PRL
L8░ MicroSoft'≤ Linke≥ RE╠ .« COM/BIN
SLRN╦ SL╥ Memor∙ baseΣ Linke≥ RE╠ .« COM/BIN
SLRNK╨ SL╥ Virtua∞ Linke≥ RE╠ .« COM/BIN
ZM╠ A∞ Hawley'≤ Linke≥ RE╠ .« COM/SRL/PRL
Iε ágeneral¼ áFILE.AS═ áfile≤ arσ i808░ sourcσ áfile≤ áwhicΦ áarσ ì
completσ áiε anΣ oµ themselves« FILE.MA├ file≤ arσ i808░ ásourcσ ì
whicΦ usσ thσ Libraries¼ Z3LIB¼ SYSLIB¼ etc« FILE.Z8░ file≤ áarσ ì
Ziloτ Z8░ sourcσ whicΦ ma∙ usσ thσ Libraries.
WitΦ thσ exceptioε oµ AS═ anΣ MAC¼ al∞ oµ thσ assembler≤ áproducσ ì
MicroSof⌠ RE╠ (MREL⌐ file≤ and¼ witΦ thσ exceptioε oµ MLOAD¼ áal∞ ì
thσ linker≤ wil∞ accep⌠ MRE╠ a≤ input« Thi≤ allow≤ ß certaiε mi° ì
anΣ ámatcΦ áoµ assemble≥ anΣ linke≥ dependinτ oε whicΦ áoµ áthei≥ ì
feature≤ i≤ desired«
╔ áusuall∙ usσ thσ SL╥ product≤ becausσ the∙ arσ s∩ ámucΦ áfaste≥ ì
thaε thσ other≤ anΣ satisf∙ m∙ NEE─ fo≥ SPEED« ╔ usσ thσ áother≤ ì
fo≥ ávariou≤ reasons¼ largel∙ t∩ ensurσ tha⌠ m∙ sourcσ file≤ áarσ ì
compatiblσ witΦ assembler≤ anΣ linker≤ m∙ audiencσ ma∙ have« No⌠ ì
everyonσ enjoy≤ sucΦ ß ricΦ mi° oµ produc⌠ a≤ ╔ do«
Becausσ áM8░ anΣ RMA├ generatσ si°-characte≥ publiπ anΣ áexterna∞ ì
reference≤ áiε thei≥ MRE╠ output¼ ╔ havσ configureΣ thσ áSL╥ áanΣ ì
ZMA├ assembler≤ fo≥ si° significan⌠ character≤ also«
Assembler≤ áarσ ásomewha⌠ unique¼ onσ froφ another¼ áanΣ ácaε ábσ ì
choseε fo≥ thei≥ particula≥ characteristics:
RMA├ ácaε bσ useΣ fo≥ 808░ codσ iε mos⌠ case≤ excep⌠ áthat¼ álikσ ì
MAC¼ áimbeddeΣ á'$º áiε álabel≤ arσ ignoreΣ áanΣ áno⌠ áplaceΣ áiε ì
externals« Thi≤ make≤ i⌠ impossiblσ t∩ addres≤ F$OPEN¼ etc« áanΣ ì
it≤ companioε filσ routine≤ iε SYSLIB.
èM8░ ácaε áassemblσ i808░ anΣ z8░ instruction≤ iε thσ ásamσ áfile« ì
Thi≤ ácaε ábσ mos⌠ usefu∞ durinτ prograφ developmen⌠ wheε ái⌠ ái≤ ì
usefu∞ t∩ 'folΣ inº codσ writteε iε thσ 'otherº language.
SL╥ áassembler≤ áarσ mucΦ faste≥ thaε thσ others« á Availablσ áiε ì
botΦ 808░ anΣ z8░ versions¼ the∙ arσ preferreΣ iε mos⌠ cases«
Linker≤ áarσ als∩ uniquσ anΣ shoulΣ bσ chosen:
L8░ anΣ SLRN╦ automaticall∙ placσ thσ DSE╟ areß a⌠ thσ ábeginninτ ì
oµ thσ outpu⌠ file« Thi≤ i≤ terribl∙ inconvenien⌠ iε mos⌠ ácase≤ ì
tha⌠ áusσ DSE╟ iε CO═ files« Iµ yo⌡ wan⌠ i⌠ elsewhere¼ áyo⌡ ácaε ì
declarσ it≤ addres≤ oε thσ commanΣ line.
LINK¼ áZM╠ anΣ SLRNK╨ (iµ yo⌡ tel∞ it⌐ wil∞ placσ DSE╟ áwherσ áwσ ì
normall∙ áwan⌠ áit¼ áimmediatel∙ áfollowinτ áCSEG« á Thesσ áthreσ ì
linker≤ wil∞ als∩ creatσ PR╠ anΣ SP╥ outpu⌠ files« SLRNK╨ ha≤ aε ì
erro≥ áassociateΣ witΦ PR╠ anΣ SP╥ file≤ anΣ i≤ no⌠ áreccommendeΣ ì
fo≥ thi≤ purpose.
end