home *** CD-ROM | disk | FTP | other *** search
- TOPIC: XREF36
-
- FROM: LUCIEN L. PAN
-
- DATE: 1983/10/18
-
-
- INTRODUCTION:
- ------------
-
- XRE╞á i≤á ß cross-referencσ utilit∙ designeΣ t∩á generatσá ß ì
- listinτá filσ whicΦ contain≤ valuablσ informatioε tha⌠ caε bσá oµ ì
- help to the assembly language programmer.
-
- I⌠á use≤á fo≥ inpu⌠ thσ '.PRNº filσ createΣ b∙ aεá assemble≥ ì
- anΣá write≤á ou⌠ ß modifieΣ filσ whicΦ i≤ identica∞ t∩ thσá inpu⌠ ì
- excep⌠á fo≥ aε identifyinτ numbe≥ anΣ somσá cosmetiπá formatting¼ ì
- fo≥ eacΦ sourcσ linσ encountered«á A⌠ thσ enΣ oµ input¼ XRE╞ wil∞ ì
- outpu⌠ ß report¼ listinτ eacΦ symbo∞ anΣ thσ linσ number(s⌐ wherσ ì
- thσá symbo∞á wa≤á referenced«á Thi≤á repor⌠ caεá bσá useΣá a≤á aε ì
- importan⌠á diagnostiπ too∞ facilitatinτ thσ tasδ oµ debugginτá aε ì
- assembl∙ program.
-
-
- FEATURES:
- --------
-
- Duσá t∩ thσ (relatively⌐ simplσ objective≤ oµ thi≤á program¼ ì
- sucΦá a≤á numberinτ eacΦ individua∞ linσ anΣ buildinτ ß tablσá oµ ì
- symbol≤ witΦ reference≤ t∩ wherσ the∙ arσ beinτ used¼ mos⌠ oµ thσ ì
- 'polishingºá i≤á aimeΣ towarΣ gettinτ ß nice-lookinτá listinτá a≤ ì
- output.
-
- Followinτá i≤á ß shor⌠ descriptioε oµ somσ oµá thσá feature≤ ì
- offered in this utility:
-
- áááá- Provide≤á ßá filenamσá banne≥ oε thσ firs⌠ pagσá oµá thσ ì
- áááálisting¼á whicΦá wheεá foldeΣá iε halµ (oεá thσá prope≥á pagσ ì
- ááááparity⌐á double≤ a≤ aε excellen⌠ prograφá listinτá separator¼ ì
- ááááallowinτá eas∙ indexinτ througΦ ß pilσ oµ printout≤ wheε the∙ ì
- ááááarσ helΣ togethe≥ iε ß binder.
-
- áááá- Thσá linσá identificatioεá numbe≥á appear≤á betweeεá thσ ì
- ááááobjec⌠ codσ expansioε anΣ thσ actua∞ sourcσ code«á Thi≤ iε m∙ ì
- ááááopinion¼á give≤á thσ thσ fina∞ listinτ ß morσ attractivσ looδ ì
- ááááb∙á makinτá i⌠ les≤ crowded«á I⌠á definitivel∙á improve≤á thσ ì
- ááááappearancσá oµá ß '.PRNº filσ froφ MA├ (tm)¼á a≤ therσ i≤á n∩ ì
- ááááblanδá spacσá betweeεá thσá objec⌠á anΣá sourcσá fielΣá (wheε ì
- áááádefininτá ßá strinτ greate≥ thaε ╡ character≤á iεá ßá labeleΣ ì
- áááásourcσ linσ fo≥ example).
-
- áááá- Sadly¼á mos⌠á assembler≤ tha⌠ I'vσ seeε d∩ no⌠ repor⌠á ß ì
- áááásummar∙ oµ errors¼ the∙ jus⌠ flaτ them« MA├ (tm⌐ report≤ theφ ì
- áááát∩ thσ consolσ a≤ the∙ arσ encountereΣ anΣ fortunately¼á CP/═ ì
- ááááallow≤ yo⌡ t∩ senΣ i⌠ t∩ thσ harΣ cop∙ device«á Howeve≥á tha⌠ ìèáááástil∞á doesn'⌠á tel∞ yo⌡ wherσ thσ error≤ arσ locateΣ iεá thσ ì
- áááálistinτá causinτá mucΦá timσ beinτá wasteΣá 'eyeballingºá thσ ì
- ááááprintout«á XRE╞ wil∞ automaticall∙ executσ ß seconΣ pas≤ wheε ì
- ááááerror(s⌐ werσ detecteΣ iε thσ firs⌠ pass¼á thi≤ timσá listinτ ì
- ááááonl∙á thσ line≤ containinτ thσ error(s⌐ alonτ witΦ thei≥ linσ ì
- ááááid«á numbers«á Yo⌡á als∩ havσ thσ optioε t∩ lis⌠á onl∙á erro≥ ì
- áááálines¼ fast!
-
- áááá- ┴á listinτ t∩ disδ i≤ implementeΣ anΣ i≤ usefu∞ t∩ thosσ ì
- ááááwh∩á usσá disδ spoolinτ beforσá printing«á T∩á conservσá disδ ì
- ááááspace¼á ß taΓ compression/expansioε drive≥ is included« I⌠ i≤ ì
- ááááßá desirablσá featurσ sincσ MA├ (tm⌐ onl∙ use≤ space≤ iεá thσ ì
- ááááobjec⌠á field¼á o≥á eveε worse¼á MACROI╔á (tm⌐á expand≤á tab≤ ì
- ááááthroughou⌠á thσ entirσ fileíá I'vσ typicall∙ seeε somσá spacσ ì
- ááááreductioε iε thσ orde≥ oµ 40%«
-
-
- INSTALLATION:
- ------------
-
- XREF3╢á i≤ supplieΣ iε sourcσ codσ anΣ compileΣ object«á Thσ ì
- contents of the library are:
-
- XREF36.DOC
- XREF36.AQM
- XREFM.COM (for MAC)
- XREFT.COM (for MACROII)
-
- Duσá t∩á thσ incompatibilit∙ betweeε MA├á (tm⌐á anΣá MACROI╔ ì
- (tm)¼á thσá compileΣ objec⌠ caε onl∙ handlσ onσ forma⌠ a⌠ ßá timσ ì
- anΣá i≤á specifieΣá a⌠ assembl∙ timσ b∙ settinτá thσá TD╠á symbo∞ ì
- equatσá t∩ eithe≥ truσ o≥ false«á Yo⌡ caε als∩ specif∙ thσ numbe≥ ì
- of lines per page by changing the symbol PGLEN.
-
- Fo≥á thosσá usinτá MA├ (o≥á ASM)¼á re-assembl∙á oµá XRE╞á i≤ ì
- straightfoward¼á requirinτá onl∙á tha⌠ thσ TD╠ symbo∞ bσá se⌠á t∩ ì
- false.
-
- Fo≥ thosσ usinτ MACROII¼ ß sligh⌠ modificatioε t∩ thσ macro-ì
- assemble≥áá objec⌠á modulσá (.COM⌐á itselµá i≤áá required«áá Ful∞ ì
- explanation≤á arσ giveε iε thσ sourcσ file«á Obviously¼á thσá TD╠ ì
- symbol must be set to true.
-
-
- OPERATION:
- ---------
-
- Thσá operatioεá oµá XRE╞á i≤á ver∙á simplσá a≤á i⌠á wil∞á bσ ì
- illustrated in the following examples:
-
- A help display is available by entering:
-
- A0>XREF <CR>
-
- It will also appear if an error option is detected.
- è
- To cross-reference a file to the printer, just type:
-
- A0>XREF MYFILE <CR>
-
- XRE╞á wil∞ assumσ aε extensioε oµ '.PRNº iµ n∩ filσ typσá i≤ ì
- specified« T∩ ente≥ ß nul∞ filetype¼ jus⌠ typσ ß '.º (dot⌐ a≤ thσ ì
- only extension.
-
- To send the output to a disk file, just append the option:
-
- B0>XREF MYFILE /D
-
- Thσá listinτá filσ wil∞ bσ createΣ oε thσ curren⌠ drivσá anΣ ì
- wil∞ bea≥ thσ samσ filenamσ bu⌠ wil∞ havσ ß '.LSTºá filetype«á Iε ì
- thσá disδá mode¼á tab≤ arσ alway≤ substitueΣ fo≥ blank≤á wheneve≥ ì
- possible (tab compression).
-
- Thσá drivσá designator≤ synta° follow≤ thσá onσá defineΣá b∙ ì
- CP/M:
- A0>b:xref c:myfile d:/d
-
- WoulΣá ge⌠ XRE╞ froφ drivσ B¼á thσ PR╬ filσ froφ drivσ ├ anΣ ì
- send the LST file to disk D.
-
- The rest of the available options are self-explanatory.
-
-
- LIMITATIONS:
- -----------
-
- Fo≥á thσá TD╠ versioε oµ XRE╞ (writteεá iεá MA├á mnemonics)¼ ì
- there are some non standard factors:
-
- XRE╞á canno⌠á detec⌠ tha⌠ tex⌠ betweeε ß .REMAR╦á shoulΣá bσ ì
- interpreteΣá a≤á ß 'multi-lineº commen⌠ s∩ herσ i≤ ß wa∙á t∩á ge⌠ ì
- arounΣá it╗á jus⌠ inser⌠ '*º a⌠ thσ beginninτ oµ eacΦ sourcσ linσ ì
- tha⌠ i≤ bracketeΣ iε ß .REMAR╦ pseudo-op« Actually¼ ß wholσ framσ ì
- of '*' can be put around the text and looks quite nice.
-
- I⌠ i≤ als∩ difficul⌠ t∩ accep⌠ '.º a≤ ß lega∞ globa∞á symbo∞ ì
- althougΦá TDL'≤ synta° allow≤ i⌠ (bu⌠ '.º doesn'⌠ sho≈ u≡ iεá thσ ì
- symbo∞ tablσ generateΣ b∙ MACROII)«á Thi≤ i≤ duσ t∩ thσ fac⌠ tha⌠ ì
- '.º i≤ als∩ useΣ a≤ thσ basσ 1░ specifie≥ anΣ als∩ a≤ thσ curren⌠ ì
- program address counter key.
-
-
-
-
-
-
-
- * MAC and CP/M are trademarks of DIGITAL RESEARCH INC.
- * MACROII and TDL are trademarks of COMPUTER DESIGN LABS INC.