| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
MC-16L/16/16H/16F 16-BIT MICROCONTROLLER MB90600 SERIES/MB90700 SERIES
Top Searches for this datasheetCM42-00310-1E MC-16L/16/16H/16F 16-BIT MICROCONTROLLER MB90600 SERIES/MB90700 SERIES MB90700H SERIES/MB90200 SERIES ABSOLUTE ASSEMBLY LIST GENERATION TOOL MANUAL PREFACE Objectives intended readership This manual describes functions operation MEAL (Make Extended Assembly List), absolute assembly list generation utility program F2MC-16L/16/16H/16F series Fujitsu 16-bit microcontrollers running UNIX series MS-DOS. This manual aimed programmers involved development application programs using F2MC-16L/16/16H/16F series microcontrollers. install MEAL, Appendix "Installing MEAL." Configuration this manual This manual consists following four chapters: Chapter Functions Explains overview functions MEAL. Chapter Operation Explains operation MEAL, particularly activation method. Chapter Control Commands Explains details control commands reference format. Chapter Assembly List Explains contents absolute assembly list. Appendices appendices explain install MEAL, list error messages control command description formats, describe specifications different operating systems. Related manuals Refer following manuals: F2MC-16L/16/16H/16F series Compiler Manual F2MC-16L/16/16H/16F series Assembler Manual F2MC-16L/16/16H/16F series Linkage Manual Description format This manual uses symbols explained below. Indicates that description parentheses omitted. Indicates that items parentheses must selected. Indicates boundary between items. Indicates that immediately preceding item input repeatedly necessary. Indicates holding down CTRL while pressing key. Indicates console I/O. Indicates file I/O. (Example) [{|}] This description means that either must specified neither must specified. CTRL-C This description means that specified repeatedly. Note:The sample descriptions this manual written UNIX version, lowercase letters file names other items. Note that UNIX version linkage case-sensitive MS-DOS version not. [Description format] [Example] sections this manual, execution program name F2MC-16L/16/16H series MEAL meal907a/MEAL907A. Replace execution program name with meal902/MEAL902 F2MC-16F series MEAL. F2MC stands FUJITSU Flexible Microcontroller. SunOS trademark Microsystems, Inc. U.S.A. UNIX registered trademark licensed X/Open Company Limited U.S.A other countries. MS-DOS trademark Microsoft Corporation. trademarks Fujitsu Limited. PC/AT registered trademark International Business Machines Corporation. PC-DOS registered trademark International Business Machines Corporation. 80286 trademark INTEL Corporation. PC-9800 Series products NEC. HP9000/700 HP-UX registered trademarks Hewlett-Packard Corporation U.S.A. NEWS NEWS-OS trademarks SONY Corporation. products described this manual specifications thereof changed without prior notice. obtain up-to-date information and/or specifications, contact your Fujitsu sales representative Fujitsu authorized dealer. Fujitsu will liable infringement copyright, industrial property right, other rights third party caused information drawings described this manual. contents this manual transferred copied without express permission Fujitsu. Some products described this manual strategic materials special technology) defined Foreign Exchange Foreign Trade Control Law. such cases, products portions thereof must exported without permission defined under Law. ©1995 FUJITSU LIMITED Printed Japan READING THIS MANUAL Page layout this manual, section subsection presented single page spread whenever possible. reader thus view entire section without having flip pages. contents each section/subsection summarized immediately below title. obtain rough overview product reading through these summaries. each subsection, section title appears page. This helps navigate manual, without having back Table Contents chapter title page. Spread layout Section title Section summary Subheading further information please contact: Japan FUJITSU LIMITED Corporate Global Business Support Division Electronic Devices KAWASAKI PLANT, 1015 Kamikodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa 211, Japan Tel: (044) 754-3753 Fax: (044) 754-3329 North South America FUJITSU MICROELECTRONICS, INC. Semiconductor Division 3545 North First Street Jose, 95134-1804, Tel: (408) 922-9000 Fax: (408) 432-9044/9045 Europe FUJITSU MIKROELEKTRONIK GmbH Siebenstein 6-10 63303 Dreieich-Buchschlag Germany Tel: (06103) 690-0 Fax: (06103) 690-122 Asia Pacific FUJITSU MICROELECTRONICS ASIA LIMITED No.51 Bras Basah Road, Plaza Park, #06-04 #06-07 Singapore 0718 Tel: 336-1600 Fax: 336-1609 F9505 FUJITSU LIMITED Printed Japan CONTENTS CHAPTER CHAPTER FUNCTIONS Overview.2 Generating Absolute Assembly Lists.4 Selecting List Output Modules OPERATION Activation Method Activation Format Display Execution.11 Files Input Files Output File 2.4.1 2.4.2 CHAPTER Preparing Absolute Assembly List Generation Restrictions.22 CONTROL COMMANDS Control Commands.24 Format Command Explanation.26 Specifying Absolute Load Module File [ABS] Displaying Cross-Reference List [XR] Inhibiting Cross-Reference List Display [NXR] Outputting Segment Information List [SG] Inhibiting Segment Information List Output [NSG].31 Specifying Target Object Module Absolute Assembly List Display Specifying Non-Target Object Module Absolute Assembly List Display [NL] 3.10 Specifying Input Directory [IN] 3.11 Specifying Output Directory [OUT] 3.12 Specifying Target Object Module ROM/RAM ARRAY List Output [RL] 3.13 Specifying Non-Target Object Module ROM/RAM ARRAY List Output [NRL].37 3.14 Specifying Target Object Module Source List Output [CL] 3.15 Specifying Non-Target Object Module Source List Output [NCL] 3.16 Specifying NAME ADDRESS Display Positions [NA].40 3.17 Specifying NAME ADDRESS Display Positions [AN] 3.18 Specifying Source File Input Directory [CIN] 3.19 Specifying Error Information Output Destination [EP]. CHAPTER ABSOLUTE ASSEMBLY LIST List Format. Header ROM/RAM ARRAY List Assembly Source List Source List Segment Information List. Cross-Reference List APPENDICES Appendix Appendix Appendix Appendix Appendix Error Messages Control Command Description Format List Absolute Assembly List Output Example. Specifications Different OSs. Installing MEAL. FIGURES Figure Figure Figure Selecting modules absolute assembly list MEAL I/O.12 Assembly list configuration.47 TABLES Table Table Table 3.10 Table 3.11 Table Table Table MEAL status codes Control command list. Referencing between control command Referencing between control command Control command description format list Specifications different File name abbreviations CHAPTER FUNCTIONS This chapter explains overview functions MEAL. Overview Generating Absolute Assembly Lists Selecting List Output Modules Overview F2MC-16-L/16/16H/16F series absolute assembly list generation tool MEAL utility program that generates absolute assembly list based assembly list output F2MC-16-L/16/16H/16F series assembler. Overview assembly list output from assembler generated using relative addresses allow program linkage. Addresses cannot determined during assembly, because linkage performed. Thus, assembly list output from assembler relative format. absolute assembly list, other hand, program addresses represented absolute values. This because information resulting from module linkage back. MEAL utility program that generates absolute format assembly list based relative format assembly list. assembly list referenced during debugging assembly language level. assembly list reveals addresses each step machine language, which cannot identified linkage list. this manual, "relative format assembly list refers assembly list output from assembler, that distinguished from "absolute assembly list." Functions MEAL following functions: Generating absolute assembly list Selecting list output module Memo Generating Absolute Assembly Lists MEAL generates absolute assembly list based relative format assembly list. During absolute assembly list generation, following portions relative format list converted: Location within segment Machine language code Segment information list Cross-reference list Location within segment Locations wiExample]thin segment assembly list displayed absolute addresses. [Example] Relative assembly list TARGET LINE SOURCE 2390 000000 000001 000004 620734 003407 2391 2392 CODE CSEG MOVN LABEL1 Relative location value within segment Absolute assembly list TARGET LINE SOURCE 2390 FF2310 FF2311 FF2314 620734 003407 2391 2392 CODE CSEG MOVN LABEL1 Absolute address program Machine language code addresses determined during assembly, address portions machine language determined either. Also, externally referenced symbols left undetermined machine language. absolute assembly list displays values machine language data, which undetermined relative assembly list, values determined result linkage. [Example] Relative assembly list TARGET LINE SOURCE 000002:0 000002:4 000004 000008 00000C 000010 000014 1010 78563412 02000000 03000000 04000000 0000 10255 10256 10257 10258 10259 10260 10261 DBIT DBIT h'12345678 RELSYM EXTERSYM RELSYM EXTERSYM undetermined. Absolute assembly list TARGET LINE SOURCE FF1002:0 FF1002:4 FF1004 FF1008 FF100C FF1010 FF1014 1010 78563412 02000000 03000000 040000FF 1230 10255 10256 10257 10258 10259 10260 10261 DBIT DBIT h'12345678 RELSYM EXTERSYM Values determined RELSYM EXTERSYM Segment information list segment addresses segment information list displayed 24-bit absolute addresses. addresses segments contained each module listed. Cross-reference list addresses cross-reference list symbols displayed 24-bit absolute addresses. Selecting List Output Modules MEAL output absolute assembly list only selected program modules. Selecting list output modules Figure shows example selection absolute assembly list Whole program Relative assembly list file XXXX1.lst XXXX2.lst XXXX3.lst XXXX4.lst Absolute format assembly list generation utility MEAL Output XXXX2 XXXX4 specified. XXXX1.als XXXX2.als XXXX3.als XXXX4.als Absolute assembly list file Figure Selecting modules absolute assembly list CHAPTER OPERATION This chapter explains operation MEAL, particularly activation method. Activation Method Activation Format Display Execution Files Preparing Absolute Assembly List Generation Restrictions Activation Method There ways activate MEAL: control commands directly specified activation statement. Control commands specified control command file. control command specifies MEAL processing. Direct specification activation statement commands used control MEAL directly specified activation statement [Description format] UNIX version meal907a input-file-name [control-command-specification] MS-DOS version MEAL907A input-file-name [control-command-specification] meal907a/MEAL907A: Execution program names MEAL Note: meal907a MEAL907A executable program file names F2MC16L/16/16H series MEAL. When using F2MC-16F MEAL, specify meal902 MEAL902. input-file-name: Specify linkage list file generated during linkage. default, "map" assumed extension. control-command-specification: Specify processing command. [Example] %meal907a system.map [Control command specification description format] Prefix control command with hyphen (-). When control command specified, MEAL performs processing assuming default control commands. details default values control commands, Chapter "Control Commands." [Example] %meal907a system. Specification using control command file activation statement, specify name file that holds control commands. This convenient when there many files described activation statement when same processing performed repeatedly. [Description format] UNIX version] meal907a MS-DOS version MEAL907A Specify name file that holds control commands. Prefix file name with distinguish from control command. [Example]] meal907a @linkcmd.opt [Command description format control command file] Describe commands control command file format below: Describe linkage list file name beginning file. Describe control commands following linkage list file name. Multiple commands described single line. [Example] sample.map -nxr Activation Format Display When only activation name (meal907a/MEAL907A meal902/MEAL902) input, MEAL displays activation format. Activation format display activation format described below. %meal907a USAGE: meal907a map-file-name command-lists meal907a map-file-name @command-file-name meal907a @command-file-name command -ABS file-name -NXR -NSG file-name[,.] file-name[,.] path-name -OUT path-name [file-name[,.] -NRL [file-name[,.] [file-name[,.] -NCL [file-name[,.] -CIN path-name file-name indicates ABS-file. (default from file) listing Cross-Referenced information. listing Cross-Referenced information. listing SeGment information. listing SeGment information. choose output List files. choose output List files. INput path name. (default current directory) OUTput path name. (default current directory) Listing Ram/roam array information. listing Ram/roam array information. Listing source information. Listing source information. output order "Name" "Address". output order "Address" "Name". source files INput path name. (default current directory) Error Print file name. (default "stdout") details this example differ from those actual display. Execution When activated, MEAL initially checks parameter description activation statement. MEAL detects error description, displays error message standard output device, returns control event error, MEAL halts execution. Correct activation statement reactivate MEAL. Execution When activated, MEAL initially checks parameter description activation statement. MEAL detects error description, displays error message standard output device, returns control event error, MEAL halts execution. Correct activation statement reactivate MEAL. activation statement correctly described, MEAL starts processing according specified control command description. error detected during processing, MEAL outputs error information standard output device. error fatal, MEAL terminates processing returns control Files Figure shows relationship between MEAL files. files only input MEAL that must explicitly specified linkage list output result linkage. default linkage list satisfactory; additional information necessary. Figure 2.4, files, absolute load modules, relative format assembly lists that implicitly referenced enclosed broken lines. These items need specified, relevant files must prepared beforehand. However, relative format assembly list necessary absolute assembly list output Usually, MEAL outputs multiple absolute assembly lists. Relative format assembly list file XXXX. Linkage list file XXXX. Absolute load module file XXXX. source file Absolute format assembly list generation utility MEAL Absolute format assembly list file XXXX. XXXX. Figure MEAL Memo Files 2.4.1 Input Files following four types files necessary inputs MEAL: Input files Linkage list Absolute load module Assembly list source (only when source list output specified) MEAL reads input (linked) module names absolute load module file names from specified linkage list file. Then, MEAL assumes assembly list file name based input module names. however, relocatable load module object module within library file linked absolute load module, linked module must explicitly specified. [Example] MB90600/MB90700/MB90700H Series Linker V01L01 94/03/18 19:39:46 PAGE LINKING CONTROLS LINK main. obj,module1.obj OBJECT hyperw.abs Absolute load module file name NAME hyperw FORM DEBUG LIST hyperw.map PAGEWIDTH PAGELENGTH ERRORPRINT STDOUT INPUT MODULES main (main.obj) :94/03/13 16:39:04 ehandle (module1.obj) :94/03/13 16:39:10 Object file name ".lst" Assembly list file name user explicitly specify absolute load module name. Without explicit specification, MEAL uses name file read from linkage list. assembly lists take much disk space. convenience, there command specify directory dedicated storing assembly lists. details, Chapter3, "Control Commands." When source list output specified, source file name read from debug information. that case, output debug information must specified during compilation assembly. addition, directory that stores source files specified. details, Chapter "Control Commands." Files 2.4.2 Output File Usually, MEAL outputs multiple absolute assembly lists. Output file MEAL outputs absolute assembly lists each object modules (source program files) comprising load module. name absolute assembly list file generated adding .als extension input module name. absolute assembly lists, modules that necessary selected output. user specify directory which absolute assembly lists output. details, Chapter "Control Commands." Memo Preparing Absolute Assembly List Generation following items must prepared before generating absolute assembly list: Compilation Relative format assembly list object module Absolute load module linkage source (only when source list output specified) output ROM/RAM ARRAY lists source list, debug information output must specified. addition, segments must specified during compilation object modules linked. Assembly relative format assembly list object modules must generated during assembly. However, following restrictions apply: macro processing language, structure control language, include file must output assembly list processing, object code within load module file machine language display portion assembly list. Thus, remains unoutput, misalignment will likely. programs read-in expanded form. During matched against above items object file names must same assembly list file names, except extensions. Always specify same file names OBJECT LIST commands. [Example] %asm907a sample.asm -object main. -list sample. %asm907a sample.asm -object main. -list main. first example, list file name cannot determined according object file name. second example, however, list file name determined from object file name. output ROM/RAM ARRAY lists source list, specify debug information output. Those lists cannot generated unless debug information output. that case, debug information output must also specified compilation. Linkage absolute load module linkage must generated during linkage. Note three types input files must fixed during linkage. assembly list file names determined according input module names linkage list. Thus, once linkage done, file names cannot changed source files cannot corrected. Thus, possible create relative assembly list re-assembling with changed file names corrected source files. re-assembly thus performed, file names differ from those determined from input module names, making file search impossible. Those assembly lists that generated after generation load module regarded errors MEAL. recommended perform assembly, linkage, MEAL series batch processes. When processing completed, MEAL displays message standard output device. forcibly terminate MEAL, press CTRL-C. When processing completed, MEAL displays following message standard output device. message displayed each time list output module completed. smp1.lst ASSEMBLY COMPLETED, ERROR WARNING FOUND. MEAL COMPLETED, ERROR WARNING FOUND. Original relative assembly list file name Number errors asm907a Number errors meal907a When MEAL completed, following message displayed: MAKING EXTENDED ASSEMBLE LIST COMPLETED. Forced termination forcibly terminate MEAL, press CTRL-C. This immediately terminates MEAL transfers control files processed before termination remain they are. files that were being processed termination deleted. Error status MEAL returns error code indicating processing results when processing complete control returned This function allows OS-level batch processing used executing series processes using multiple support software packages, such series processes from compilation linkage through generating absolute assembly list. example, error occurred during linkage, first check error status after linkage terminate batch processing. Likewise, avoid creating meaningless absolute assembly lists. batch processing commands, refer manual each Table shows MEAL status codes Table MEAL status codes Code Error level Normal Warning Error Abnormal Explanation Processing ended normally. warning error occurred. error occurred. fatal error occurred. Note: errors different levels occur same time, higher error status indicated. example, error warning occur same time, indicated error status. Restrictions Several restrictions applied MEAL, including number modules that registered during operation. Normal processing cannot performed conditions violating restrictions. Restrictions control command description Number files that described parameters control command Specifying options during assembly During assembly, specify that macro expansion, structure control instruction expansion, include expansion displayed list with option command, error occurs (error number 104). print assembly list with macro expansion, structure control instruction expansion, include expansion, specify EXP, STR, control commands during assembly. CHAPTER CONTROL COMMANDS Control commands control MEAL operation. Specifically, they control output absolute assembly lists. This chapter explains details control commands reference format. Control Commands Format Command Explanation Specifying Absolute Load Module File [ABS] Displaying Cross-Reference List [XR] Inhibiting Cross-Reference List Display [NXR] Outputting Segment Information List [SG] Inhibiting Segment Information List Output [NSG] Specifying Target Object Module Absolute Assembly List Display Specifying Non-Target Object Module Absolute Assembly List Display [NL] 3.10 Specifying Input Directory [IN] 3.11 Specifying Output Directory [OUT] 3.12 Specifying Target Object Module ROM/RAM ARRAY List Output [RL] 3.13 Specifying Non-Target Object Module ROM/RAM ARRAY List Output [NRL] 3.14 Specifying Target Object Module Source List Output [CL] 3.15 Specifying Non-Target Object Module Source List Output [NCL] 3.16 Specifying NAME ADDRESS Display Positions [NA] 3.17 Specifying NAME ADDRESS Display Positions [AN] 3.18 Specifying Source File Input Directory [CIN] 3.19 Specifying Error Information Output Destination [EP] Control Commands Control commands control MEAL operation. Specifically, they control output absolute assembly lists. Control command description format Prefix each command with hyphen (-). describe more commands, delimit them with blank. Describe parameters after command name, with least blank between command name parameters. describe multiple parameters, delimit them with commas. -command-name [parameter[, Control command list There forms MEAL control commands: spell-out form abbreviated form. Each command described either form. control commands case-sensitive. Table lists MEAL control commands. command specified, MEAL performs following processing: Outputs lists modules. Outputs segment information list cross-reference list available relative assembly list) absolute assembly list. conflicting commands specified same time, command input error occurs. Conflicting commands follows: Table Control command list Command name (abbreviated form) ABSFILE CROSS_REFERENCE (ABS) (XR) Contents control Specifies absolute load module file name. Specifies module which cross-reference lists displayed. Specifies module which display cross-reference list inhibited. Displays segment information list. Inhibits display segment information list. Specifies module which absolute assembly list output. Specifies module which absolute assembly list output. Specifies directory under which relative assembly list file input. Specifies directory under which absolute assembly list file output. Specifies module which ROM/ ARRAY lists output. Specifies module which ROM/ ARRAY lists output. Specifies module which source list output. Specifies module which source list output. Outputs ROM/RAM ARRAY lists format NAME, ADDRESS. Outputs ROM/RAM ARRAY lists format ADDRESS, NAME. Specifies directory from which source file input. Specifies name file that stores error information. Page NOCROSS_REFERENCE SEGMENT_INFORMATION NOSEGMENT_INFORMATION LIST NOLIST INPUTLIST (NXR) (SG) (NSG) (NL) (IN) OUTPUTLIST (OUT) ROM_RAM_LIST (RL) NOROM_RAM_LIST (NRL) C_LIST NOC_LIST (CL) (NCL) NAME_ADDRESS (NA) ADDRESS_NAME (AN) C_INPUT ERRORPRINT (CIN) (EP) Format Command Explanation each MEAL control command, description format functions explained. Sample command usage also described where necessary. Explanation command details Command outline Function summary [Description format] [Abbreviation] [Parameters] [Explanation] [Example] [Abbreviated form] Description format: Describes format which command specified. Input command according format described here. Abbreviation: Describes abbreviated form command. Abbreviations replace spelled-out command names. Explanation: Explains command functions. Example: Presents sample command description. Specifying Absolute Load Module File [ABS] This command specifies name absolute load module file, which generated linking modules which absolute assembly list generated. [Description format] -ABSFILE file-descriptor [Abbreviation] [Parameters] file-descriptor Describe absolute load module file name. [Explanation] This command specifies name absolute load module file, which generated linking modules which absolute assembly list generated. extension specified, ".abs" assumed. file name specified, MEAL automatically references absolute load module file name according linking control information linkage list. absolute load module file used MEAL display machine language code values. [Example] %meal907a sample -ABS sample %meal907a sample -ABS sample.abs above examples same effect. Displaying Cross-Reference List [XR] This command outputs cross-reference list original relative assembly list absolute assembly list. this command specified, processing performed according output status relative assembly list. [Description format] -CROSS_REFERENCE [Abbreviation] [Parameters] file-descriptor Describe relative assembly list file name. [Explanation] This command outputs cross-reference list original relative assembly list absolute assembly list. this command specified, processing performed according output status relative assembly list. extension specified, ".LST" assumed. file descriptor specified, assumed that object modules specified. specified object module does exist absolute load module crossreference list output original relative assembly list, specifications relevant object module ignored. [Example]] sample -ABS sample %meal907a sample -ABS sample Inhibiting Cross-Reference List Display [NXR] This command inhibits output cross-reference list original relative assembly list absolute assembly list. this command specified, processing performed according output status relative assembly list. [Description format] -NOCROSS_REFERENCE [file-descriptor[, [Abbreviation] [Parameters] file-descriptor Describe relative assembly list file name. [Explanation] cross-reference list output modules other than those specified with this command. extension specified, ".LST" assumed. file descriptor specified, assumed that object modules specified. specified object module does exist absolute load module crossreference list output original relative assembly list, specifications relevant object module ignored. [Example] sample -NXR %meal907a sample -ABS sample Outputting Segment Information List [SG] This command outputs segment information list original relative assembly list absolute assembly list. this command specified, processing performed according output status relative assembly list. [Description format] -SEGMENT_INFORMATION [Abbreviation] [Parameters] None [Explanation] This command outputs segment information list original relative assembly list absolute assembly list. segment information output original relative assembly list, segment information displayed even when this command specified. [Example] %meal907a sample -ABS sample sample Inhibiting Segment Information List Output [NSG] This command inhibits output segment information list original relative assembly list absolute assembly list. this command specified, processing performed according output status relative assembly list. [Description format] -NOSEGMENT_INFORMATION [Abbreviation] [Parameters] None [Explanation] This command inhibits output segment information list original relative assembly list absolute assembly list. This command valid only when segment information displayed original relative assembly list. [Example] %meal907a sample -ABS sample sample -NSG Specifying Target Object Module Absolute Assembly List Display This command specifies object module which absolute assembly list output. neither command command specified, absolute assembly list output object modules. [Description format] -LIST file-descriptor[, [Abbreviation] [Parameters] file-descriptor Describe relative assembly list file name. object relocatable load module library, specify file name explicitly. [Explanation] This command specifies object module which absolute assembly list output. extension specified, ".lst" assumed. neither command command specified, absolute assembly list output object modules. [Example] %meal907a sample -ABS sample sample Specifying Non-Target Object Module Absolute Assembly List Display [NL] This command specifies object module which absolute assembly list output. neither command command specified, absolute assembly list output object modules. [Description format] -NOLIST [Abbreviation] [Parameters] file-descriptor Describe relative assembly list file name. [Explanation] This command specifies object module which absolute assembly list output. list output object modules other than those specified with this command. This convenient when many lists output. extension specified, ".lst" assumed. neither command command specified, absolute assembly list output object modules. specified module does exist absolute load module, specification invalid. [Example] %meal907a sample -ABS sample sample 3.10 Specifying Input Directory [IN] This command specifies directory under which relative assembly list file stored. this command specified, current directory assumed. [Description format] -INPUTLIST directory-descriptor [Abbreviation] [Parameter] directory-descriptor Describe directory under which relative assembly list file stored. [Explanation] This command specifies directory under which relative assembly list file stored. this command specified, current directory assumed. [Example] %meal907a sample -ABS sample sample ./rel Table 3.10 Reference between control commands specification xxxxx.lst specification ./rel None ./rel/xxxxx.lst xxxxx.lst ./lst/xxxxx.lst ./rel/xxxxx.lst ./lst/xxxxx.lst 3.11 Specifying Output Directory [OUT] This command specifies directory which absolute assembly list file output. [Description format] -OUTPUTLIST directory-descriptor [Abbreviation] [Parameters] directory-descriptor Describe directory which absolute assembly list file output. [Explanation] This command specifies directory which absolute assembly list file output. this command specified, current directory assumed. [Example] %meal907a sample -ABS sample sample -OUT ./abs Table 3.11 Reference between control commands specification xxxxx.lst specification ./rel None ./rel/xxxxx.als xxxxx.als ./lst/xxxxx.lst ./rel/xxxxx.als ./lst/xxxxx.als 3.12 Specifying Target Object Module ROM/RAM ARRAY List Output [RL] This command specifies object module which ROM/RAM ARRAY lists output. this command, debug information output must have been specified during compilation assembly. [Description format] -ROM_RAM_LIST [Abbreviation] [Parameters] file-descriptor Describe relative assembly list file name. [Explanation] This command specifies object module which ROM/RAM ARRAY lists output. extension specified, ".LST" assumed. file descriptor specified, assumed that object modules specified. specified object module does exist absolute load module debug information output specified during compilation assembly, this command ignored. [Example] sample sam1, %meal907a sample -ABS sample sam2 3.13 Specifying Non-Target Object Module ROM/RAM ARRAY List Output [NRL] This command specifies object module which ROM/RAM ARRAY lists output. [Description format] -NOROM_RAM_LIST [file-descriptor[, [Abbreviation] [Parameters] file-descriptor Describe relative assembly list file name. [Explanation] ROM/RAM ARRAY lists output object modules other than those specified with this command. extension specified, ".LST" assumed. file descriptor specified, assumed that object modules specified. specified object module does exist absolute load module, specification that object module ignored. neither command specified, ROM/RAM ARRAY lists output object module. commands specified same time, command input error occurs. [Example] sample -NRL sam1, %meal907a sample -ABS sample sam2 3.14 Specifying Target Object Module Source List Output [CL] This command specifies object module which source list output. this command, debug information output must have been specified during compilation assembly. [Description format] -C_LIST [Abbreviation] [Parameter] file-descriptor Describe relative assembly list file name. [Explanation] This command specifies object module which source list output. assembly source list output object modules that specified with this command. extension specified, ".LST" assumed. file descriptor specified, assumed that object modules specified. specified object module does exist absolute load module debug information output specified during compilation assembly, specification that object module ignored. [Example] sample %meal907a sample -ABS sample 3.15 Specifying Non-Target Object Module Source List Output [NCL] This command specifies object module which source list output. [Description format] -NOC_LIST [Abbreviation] [Parameter] file-descriptor Describe relative assembly list file name. [Explanation] This command specifies object module which source list output. assembly source list output object module that specified with this command. extension specified, ".LST" assumed. file descriptor specified, assumed that object modules specified. specified object module does exist absolute load module, specification that object module ignored. [Example] sample -NCL %meal907a sample -ABS sample 3.16 Specifying NAME ADDRESS Display Positions [NA] This command outputs ROM/RAM list symbols addresses order NAME then ADDRESS. [Description format] -NAME_ADDRESS [Abbreviation] [Parameters] None [Explanation] This command outputs ROM/RAM ARRAY list symbols addresses order NAME then ADDRESS. symbols output alphabetic order. This command valid only those object modules which ROM/RAM ARRAY list output specified. [Example] %meal907a sample -ABS sample sample 3.17 Specifying NAME ADDRESS Display Positions [AN] This command outputs ROM/RAM ARRAY list symbols addresses format ADDRESS, NAME. [Description format] -ADDRESS_NAME [Abbreviation] [Parameters] None [Explanation] This command outputs ROM/RAM ARRAY lists symbols addresses order ADDRESS then NAME. symbols output address order. This command valid only those object modules which ROM/RAM ARRAY list output specified. neither command specified, ROM/RAM ARRAY list symbols addresses output order NAME then ADDRESS. [Example] %meal907a sample -ABS sample sample 3.18 Specifying Source File Input Directory [CIN] This command specifies directory under which source file stored. this command specified, processing performed according debug information. [Description format] -C_INPUT directory-descriptor [Abbreviation] [Parameters] directory-descriptor Specify directory under which source file stored. [Explanation] This command specifies directory under which source file stored. this command specified, processing performed according debug information. This command valid only those object modules which source list output specified. [Example] %meal907a sample -ABS sample sample -CIN ./src 3.19 Specifying Error Information Output Destination [EP] This command specifies output destination error information. this command specified, error information output standard output device. [Description format] -ERRORPRINT [file-descriptor] [Abbreviation] [Parameters] file-descriptor Specify name file which error information output. [Explanation] This command specifies name file that stores error information. file descriptor specified, error information output standard output device. Always specify file extension. [Example] %meal907a sample -ABS sample sample sample.err Memo CHAPTER ABSOLUTE ASSEMBLY LIST This chapter explains contents absolute assembly list. absolute assembly list format basically same relative assembly list. List Format Header ROM/RAM ARRAY List Assembly Source List Source List Segment Information List Cross-Reference List List Format assembly list consists header, ROM/RAM list, ARRAY list, source list, segment information list, cross-reference list. Figure shows assembly list configuration. List format Header Displayed each page. ROM/RAM ARRAY lists ROM/RAM list Outputs names absolute addresses global symbols located ROM/ area. ARRAY list Outputs names absolute addresses array members. When command specified, ROM/RAM ARRAY lists displayed. When command specified, ROM/RAM ARRAY lists displayed. Source list Assembly source list Displays variety information used during assembly source program units lines. Displays error information, locations, object code. source list Displays source program with line numbers. When command specified, source list displayed. When command specified, assembly source list displayed. Segment information list Displays names attributes segments defined source program. When command specified, segment information list displayed. When command specified, segment information list displayed. Cross-reference list Displays definitions reference relationships symbol names used source programs, using line numbers. When command specified, cross-reference list displayed. When command specified, cross-reference list displayed. details control commands, Chapter "Control Commands." list configuration described below. Header specification ROM/RAM list ARRAY list specification specification specification specification Figure Error messages assembly lists error occurred assembly list during assembly, error message displayed Assembly source list source list Segment information list Cross-reference list Assembly list configuration Header header consists lines. first page list, assembly information (object file name, assembler version, control commands during assembly) displayed following header. Header format header consists lines displayed each page. format first line common throughout entire assembly list. second line differs with source program. header format described below: [First line] Date absolute format assembly list generation MEAL version Title character string 94/03/05 16:37 MB90700 MEAL VxxLxx PAGE xxxxx Character string specified with TITLE pseudo instruction Tool name Page number title character string, contents relative assembly list displayed they are. above example format F2MC-16L/16/16H series MEAL. F2MC-16F series MEAL, tool name MB90200 MEAL. [Second line] Subtitle character string Date source file generation Source file name contents original assembly list displayed they are. Assembly information first page list, object file name, assembler version, control commands during assembly displayed format described below. same items those original assembly list displayed they are. assembly information format described below. [First line] Object file name OBJECT MODULE PLACED object-file-name [Second line] Assembler version ASSEMBLER: MB90700 series Assembler VxxLxx above example format F2MC-16L/16/16H series MEAL. F2MC-16F series MEAL, replace MB90700 with MB90200. [Third line] Control command ASSEMBLER CONTROLS: control-command-list explicitly specified control command list displayed. ROM/RAM ARRAY List ROM/RAM ARRAY lists indicate information symbols described source program. output ROM/RAM ARRAY lists, debug information output must specified during compilation assembly. ROM/RAM ARRAY list format ROM/RAM list format described below. ROM/RAM LIST NAME Name ADDRESS xxxxxxx VALUE xxxxxxx KIND MEMORY ARRAY list format described below. ARRAY LIST NAME Name ADDRESS xxxxxxx VALUE xxxxxxx Symbol name Displays name symbol described program. ARRAY list displays array structure members. Address Displays absolute address hexadecimal format. symbol name address locations changed control commands. When command specified, symbol name, address displayed that order. When command specified, address, symbol name displayed that order. details, Chapter "Control Commands." Value Displays initial values symbol available) decimal format. Symbol type following symbol types displayed: Variable name Function name name reference Memory location Displays memory area where symbol located. [Example] ROM: area RAM: area ROM/RAM LIST NAME Line Nameleng symref Tflg [Example] ADRESS VALUE 00002B8 000100 000004C 000016 0005592 0000763 000002 KIND MEMORY ARRAY LIST ADRESS 0005592 0005596 0005598 000559A 000559E 00055A0 0001066 00010A0 NAME symref [0]. symref [0]. symref [0]. symref [1]. symref [1]. symref [1]. Xpcr Xpcr VALUE 000100 000002 000016 012000 000002 000016 000400 000120 Assembly Source List assembly source list, locations indicated absolute addresses object code indicated code determined after linkage. Assembly source list format format assembly source list described below. xxxxxx xxxxxxxxxxxxxx TARGET LINE xxxxxx xxxxx *6*7 SOURCE first line above format called source list header. source list header displayed each page. Location Indicates 24-bit location value absolute address hexadecimal format. location necessary, position number displayed after colon (:). Object code Indicates object codes determined after linkage hexadecimal format. object codes displayed across multiple lines they cannot onto single line. Source line type Indicates source line type. Indicates that externally referenced symbol used. Indicates that line assembled during conditional assembly. Blank: Indicates that line type neither symbol displayed relative assembly list displayed absolute assembly list. Reference address Indicates branch destination address branch instruction absolute address hexadecimal format. Line number Indicates five-digit line number decimal format. Include nest counter Indicates include nest level. nest level between Macro nest counter Indicates maco description nest level. nest level between prefixed with plus sign. Source line Displays line source program. line displayed across multiple lines cannot onto single line list. [Example] TARGET LINE 1025 2390 2391 SOURCE EXTERSYM FF1014 3412 FF1006 FF1006 FF1007 620734 MOVN #EXTSYM MOVN LABEL1 003407 2392 Reference value: Indicates jump destination address branch instruction absolute Object code: Indicates value determined after linkage. Location counter value: Indicates 24-bit absolute address. Source List source list displays source program with line numbers. source list format format source list described below. LINE xxxx SOURCE Line number Indicates five-digit line number decimal format. source Displays line source program. line displayed across multiple lines cannot onto single line list. [Example] LINE SOURCE #include <stdio.h> #include "mlext.h" main Memo Segment Information List segment information list describes information segments defined within program. segment information list displayed page after page break. Segment information list format format segment information list described below: ERRORHANDLE 94/03/23 16:37 MB90700 MEAL V01L01 PAGE SEGMENT INFORMATION LIST NAME Segment name KIND xxxxx ATTR *3*4 START xxxxxx xxxxxx LENGTH xxxxx above example shows format F2MC-16L/16/16H series MEAL. F2MC16F series MEAL, replace MB90700 with MB90200. Segment name Displays defined segment names, sorted alphabetic order. Segment type Indicates segment type. following symbols displayed: Bank IOSEG CSEG DSEG SSEG Link attribute Displays alphabetic that indicates link attribute segment. Absolute (Absolute segment, link possible) Public (Simple link) Common (Common link) Stack (Stack link) Location attribute Displays segment boundary attribute. Byte Word Page address segment Displays address segment 24-bit absolute address hexadecimal format. Final address segment Displays final address segment 28-bit absolute address hexadecimal format. Segment size Displays segment size 20-bit value hexadecimal format. [Example] KUMASUMITOB 94/03/23 16:37 MB90700 Assembler V01L01 PAGE SEGMENT INFORMATION LIST NAME CODE DATA STACK KIND ATTR CSEG DSEG IOSEG SSEG START LENGTH 0089B 00080 00100 00180 FF9000 0FF989A 000100 000017F 000000 00000FF 000180 00002FF Cross-Reference List cross-reference list shows information names described within program, indicates their definitions referencing. cross-reference list displayed page after page break. Cross-reference list format format cross-reference list described below. ERRORHANDLE 94/03/23 16:37 MB90700 MEAL V01L01 PAGE CROSS REFERENCE LIST SYMBOL Name VALUE xxxxxx:xx KIND SEGMENT *3*4 XXXXXXX REFERENCE above example shows format F2MC-16L/16/16H series MEAL. F2MC-16F series MEAL, replace MB90700 with MB90200. control command specified, only names, definition, reference line numbers output. Name Displays names alphabetic order. following name types available: Symbol, register symbol, symbol, symbol Value name value, represented 24-bit absolute address. name value, nothing displayed. Symbol symbol symbol xxxxxx xxxxxx:x xxxxxxxx 6-digit hexadecimal 6-digit hexadecimal position 8-digit hexadecimal Name type following eight name types available: Symbol Structure name Structure member name Structure variable name Register symbol symbol symbol Undefined symbol External attribute name Indicates external attribute name. External definition External reference Segment name Indicates segment attribute name, there one. Definition reference line number Indicates lines defining referencing global symbols. line number defining global symbol suffixed with sharp symbol (#). [Example] ERRORHANDLE 94/03/23 16:37 MB90700 Assembler V01L01 PAGE CROSS REFERENCE LIST NAME ADRESS ATTRIBUTE BINARY ALLRW VALUE 001244 00000F:0 FF0010 000001 KIND SEGMENT REFERENCE DSEG IOSEG DSEG Note:If control command specified, only names definition reference line numbers output. Memo Other recent searchesSOP32 - SOP32 SOP32 Datasheet R11G - R11G R11G Datasheet PD-21002 - PD-21002 PD-21002 Datasheet DIP14 - DIP14 DIP14 Datasheet SIP7 - SIP7 SIP7 Datasheet BAV16WS - BAV16WS BAV16WS Datasheet 25AA1024 - 25AA1024 25AA1024 Datasheet 1N6151AUS - 1N6151AUS 1N6151AUS Datasheet
Privacy Policy | Disclaimer |