Manuel D’UtilisationTable des matières1 GENERAL131.1 Features131.2 Tool Composition141.2.1 Composition of Package141.2.2 Outline of Software Tools142 INSTALLATION152.1 Working Environment152.2 Installation Method162.3 Directories and Files after Installation183 SOFTWARE DEVELOPMENT PROCEDURE193.1 Software Development Flow193.2 Development Using Work Bench203.2.1 Starting Up the Work Bench203.2.2 Creating a New Project213.2.3 Editing Source Files213.2.4 Configuration of Tool Options233.2.5 Building an Executable Object243.2.6 Debugging254 WORK BENCH264.1 Features264.2 Starting Up and Terminating the Work Bench264.3 Work Bench Windows274.3.1 Window Configuration274.3.2 Window Manipulation284.4 Toolbar and Buttons324.4.1 Standard Toolbar324.4.2 Build Toolbar334.4.3 Window Toolbar334.4.4 Toolbar Manipulation344.4.5 [Insert into project] Button on a [Edit] Window344.5 Menus354.5.1 [File] Menu354.5.2 [Edit] Menu364.5.3 [View] Menu364.5.4 [Insert] Menu374.5.5 [Build] Menu374.5.6 [Tools] Menu374.5.7 [Window] Menu384.5.8 [Help] Menu384.6 Project and Work Space394.6.1 Creating a New Project394.6.2 Inserting Sources into a Project404.6.3 [Project] Window414.6.4 Opening and Closing a Project414.6.5 Files in the Work Space Folder424.7 Source Editor434.7.1 Creating a New Source or Header File434.7.2 Loading and Saving Files444.7.3 Edit Function454.7.4 Tag Jump Function484.7.5 Printing494.8 Build Task494.8.1 Preparing a Build Task494.8.2 Building an Executable Object494.8.3 Debugging504.8.4 Executing Other Tools514.9 Tool Option Settings534.9.1 Assembler Options534.9.2 Linker Options544.9.3 Debugger Options564.9.4 HEX Converter Options564.10 Short-Cut Key List574.11 Error Messages574.12 Precautions585 ASSEMBLER595.1 Functions595.2 Input/Output Files595.2.1 Input File595.2.2 Output Files605.3 Starting Method615.4 Messages625.5 Grammar of Assembly Source635.5.1 Statements635.5.2 Instructions (Mnemonics and Pseudo-instructions)655.5.3 Labels665.5.4 Comments685.5.5 Blank Lines685.5.6 Register Names685.5.7 Numerical Notations695.5.8 Symbols705.5.9 Operators705.5.10 Location Counter Symbol "$"725.6 Section Management735.6.1 Definition of Sections735.6.2 Absolute and Relocatable Sections735.6.3 Sample Definition of Sections745.7 Assembler Pseudo-Instructions755.7.1 Include Instruction (#include)765.7.2 Define Instruction (#define)775.7.3 Macro Instructions (#macro ... #endm)795.7.4 Conditional Assembly Instructions (#ifdef ... #else ... #endif, #ifndef... #else ... #endif)815.7.5 Section Defining Pseudo-Instructions (.code, .bss)835.7.6 Location Defining Pseudo-Instructions (.org, .bank, .page, .align)845.7.7 Symbol Defining Pseudo-Instruction (.set)895.7.8 Data Defining Pseudo-Instruction (.codeword)905.7.9 Area Securing Pseudo-Instructions (.comm, .lcomm)915.7.10 Global Declaration Pseudo-Instruction (.global)925.7.11 List Control Pseudo-Instructions (.list, .nolist)935.7.12 Source Debugging Information Pseudo-Instructions (.stabs, .stabn)935.7.13 Comment Adding Function945.7.14 Priority of Pseudo-Instructions945.8 Summary of Compatibility with the Older Tool955.9 Relocatable List File965.10 Sample Executions975.11 Error/Warning Messages995.11.1 Errors995.11.2 Warning1005.12 Precautions1006 LINKER1016.1 Functions1016.2 Input/Output Files1016.2.1 Input Files1016.2.2 Output Files1026.3 Starting Method1036.4 Messages1066.5 Linker Command File1076.6 Link Map File1086.7 Symbol File1096.8 Absolute List File1106.9 Cross Reference File1116.10 Linking1126.11 Automatic Insertion/Removal/Correction of "pset" Instruction1146.12 Error/Warning Messages1156.12.1 Errors1156.12.2 Warning1156.13 Precautions1167 HEX CONVERTER1177.1 Functions1177.2 Input/Output Files1177.2.1 Input Files1177.2.2 Output Files1177.3 Starting Method1187.4 Messages1197.5 Output Hex Files1207.5.1 Hex File Configuration1207.5.2 Intel-HEX Format1207.5.3 Motorola-S Format1217.5.4 Conversion Range1217.6 Error/Warning Messages1227.6.1 Errors1227.6.2 Warning1227.7 Precautions1238 DISASSEMBLER1248.1 Functions1248.2 Input/Output Files1248.2.1 Input Files1248.2.2 Output Files1248.3 Starting Method1258.4 Messages1268.5 Disassembling Output1278.6 Error/Warning Messages1308.6.1 Errors1308.6.2 Warning1309 DEBUGGER1319.1 Features1319.2 Input/Output Files1319.2.1 Input Files1319.2.2 Output Files1329.3 Starting Method1339.3.1 Start-up Format1339.3.2 Start-up Options1339.3.3 Start-up Messages1349.3.4 Hardware Check at Start-up1349.3.5 Method of Termination1359.4 Windows1369.4.1 Basic Structure of Window1369.4.2 [Command] Window1389.4.3 [Source] Window1399.4.4 [Data] Window1419.4.5 [Register] Window1419.4.6 [Trace] Window1429.5 Tool Bar1439.5.1 Tool Bar Structure1439.5.2 [Key Break] Button1439.5.3 [Load File] and [Load Option] Buttons1439.5.4 [Source], [Mix], and [Unassemble] Buttons1439.5.5 [Go], [Go to Cursor], [Go from Reset], [Step], [Next], and [Reset] Buttons1439.5.6 [Break] Button1449.5.7 [Help] Button1449.6 Menu1459.6.1 Menu Structure1459.6.2 [File] Menu1459.6.3 [Run] Menu1459.6.4 [Break] Menu1469.6.5 [Trace] Menu1469.6.6 [View] Menu1469.6.7 [Option] Menu1479.6.8 [Windows] Menu1479.6.9 [Help] Menu1479.7 Method for Executing Commands1489.7.1 Entering Commands from Keyboard1489.7.2 Executing from Menu or Tool Bar1509.7.3 Executing from a Command File1519.7.4 Log File1529.8 Debug Functions1539.8.1 Loading Program and Option Data1539.8.2 Source Display and Symbolic Debugging Function1549.8.3 Displaying and Modifying Program, Data, and Register1569.8.4 Executing Program1589.8.5 Break Functions1609.8.6 Trace Functions1629.8.7 Coverage1659.9 Command Reference1669.9.1 Command List1669.9.2 Reference for Each Command1679.9.3 Program Memory Operation168as (assemble mnemonic)168pe (program memory enter)170pf (program memory fill)171pm (program memory move)1729.9.4 Data Memory Operation173dd (data memory dump)173de (data memory enter)175df (data memory fill)177dm (data memory move)1789.9.5 Register Operation179rd (register display)179rs (register set)1809.9.6 Program Execution181g (go)181gr (go after reset CPU)183s (step)184n (next)1859.9.7 CPU Reset186rst (reset CPU)1869.9.8 Break187bp (break point set)187bpc (break point clear)189bd (data break)190bdc (data break clear)192br (register break)193brc (register break clear)195bm (multiple break)196bmc (multiple break clear)198bl (break point list)199bac (break all clear)200be (break enable)201bsyn (break disable)2029.9.9 Program Display203u (unassemble)203sc (source code)204m (mix)2059.9.10 Symbol Information206sy (symbol list)2069.9.11 Load File207lf (load file)207lo (load option)2089.9.12 ROM Access209rp (ROM program load)209vp (ROM program verify)210rom (ROM type)2119.9.13 Trace212tc (trace condition)212ta (trace area)213tac (trace area clear)215tp (trace pointer)216td (trace data display)217ts (trace search)219tf (trace file)2219.9.14 Coverage222cv (coverage)222cvc (coverage clear)2239.9.15 Command File224com (execute command file)224rec (record commands to a file)2259.9.16 log226log (log)2269.9.17 Map Information227ma (map information)2279.9.18 Mode Setting228otf (on-the-fly display)228tim (time or step mode)2299.9.19 Self Diagnosis230chk (self diagnostic test)2309.9.20 Quit231q (quit)2319.10 Error/Warning Messages232Quick Reference233S1C6200 Core CPU234Memory Map234Registers234Instruction List235Symbols in the Instruction List235Branch instructions236System control instructions236Index operation instructions236Data transfer instructions237Flag operation instructions237Stack operation instructions237Arithmetic operation instructions238Development Tools239Software Development Flowchart239Work Bench wb62240Assembler as62244Linker lk62246HEX Converter hx62247Disassembler ds62248Debugger db62249Taille: 1,7 MoPages: 255Language: EnglishOuvrir le manuel
Manuel D’UtilisationTable des matières1 GENERAL131.1 Features131.2 Tool Composition141.2.1 Composition of Package141.2.2 Outline of Software Tools142 INSTALLATION152.1 Working Environment152.2 Installation Method162.3 Directories and Files after Installation183 SOFTWARE DEVELOPMENT PROCEDURE193.1 Software Development Flow193.2 Development Using Work Bench203.2.1 Starting Up the Work Bench203.2.2 Creating a New Project213.2.3 Editing Source Files213.2.4 Configuration of Tool Options233.2.5 Building an Executable Object243.2.6 Debugging254 WORK BENCH264.1 Features264.2 Starting Up and Terminating the Work Bench264.3 Work Bench Windows274.3.1 Window Configuration274.3.2 Window Manipulation284.4 Toolbar and Buttons324.4.1 Standard Toolbar324.4.2 Build Toolbar334.4.3 Window Toolbar334.4.4 Toolbar Manipulation344.4.5 [Insert into project] Button on a [Edit] Window344.5 Menus354.5.1 [File] Menu354.5.2 [Edit] Menu364.5.3 [View] Menu364.5.4 [Insert] Menu374.5.5 [Build] Menu374.5.6 [Tools] Menu374.5.7 [Window] Menu384.5.8 [Help] Menu384.6 Project and Work Space394.6.1 Creating a New Project394.6.2 Inserting Sources into a Project404.6.3 [Project] Window414.6.4 Opening and Closing a Project414.6.5 Files in the Work Space Folder424.7 Source Editor434.7.1 Creating a New Source or Header File434.7.2 Loading and Saving Files444.7.3 Edit Function454.7.4 Tag Jump Function484.7.5 Printing494.8 Build Task494.8.1 Preparing a Build Task494.8.2 Building an Executable Object494.8.3 Debugging504.8.4 Executing Other Tools514.9 Tool Option Settings534.9.1 Assembler Options534.9.2 Linker Options544.9.3 Debugger Options564.9.4 HEX Converter Options564.10 Short-Cut Key List574.11 Error Messages574.12 Precautions585 ASSEMBLER595.1 Functions595.2 Input/Output Files595.2.1 Input File595.2.2 Output Files605.3 Starting Method615.4 Messages625.5 Grammar of Assembly Source635.5.1 Statements635.5.2 Instructions (Mnemonics and Pseudo-instructions)655.5.3 Labels665.5.4 Comments685.5.5 Blank Lines685.5.6 Register Names685.5.7 Numerical Notations695.5.8 Symbols705.5.9 Operators705.5.10 Location Counter Symbol "$"725.6 Section Management735.6.1 Definition of Sections735.6.2 Absolute and Relocatable Sections735.6.3 Sample Definition of Sections745.7 Assembler Pseudo-Instructions755.7.1 Include Instruction (#include)765.7.2 Define Instruction (#define)775.7.3 Macro Instructions (#macro ... #endm)795.7.4 Conditional Assembly Instructions (#ifdef ... #else ... #endif, #ifndef... #else ... #endif)815.7.5 Section Defining Pseudo-Instructions (.code, .bss)835.7.6 Location Defining Pseudo-Instructions (.org, .bank, .page, .align)845.7.7 Symbol Defining Pseudo-Instruction (.set)895.7.8 Data Defining Pseudo-Instruction (.codeword)905.7.9 Area Securing Pseudo-Instructions (.comm, .lcomm)915.7.10 Global Declaration Pseudo-Instruction (.global)925.7.11 List Control Pseudo-Instructions (.list, .nolist)935.7.12 Source Debugging Information Pseudo-Instructions (.stabs, .stabn)935.7.13 Comment Adding Function945.7.14 Priority of Pseudo-Instructions945.8 Summary of Compatibility with the Older Tool955.9 Relocatable List File965.10 Sample Executions975.11 Error/Warning Messages995.11.1 Errors995.11.2 Warning1005.12 Precautions1006 LINKER1016.1 Functions1016.2 Input/Output Files1016.2.1 Input Files1016.2.2 Output Files1026.3 Starting Method1036.4 Messages1066.5 Linker Command File1076.6 Link Map File1086.7 Symbol File1096.8 Absolute List File1106.9 Cross Reference File1116.10 Linking1126.11 Automatic Insertion/Removal/Correction of "pset" Instruction1146.12 Error/Warning Messages1156.12.1 Errors1156.12.2 Warning1156.13 Precautions1167 HEX CONVERTER1177.1 Functions1177.2 Input/Output Files1177.2.1 Input Files1177.2.2 Output Files1177.3 Starting Method1187.4 Messages1197.5 Output Hex Files1207.5.1 Hex File Configuration1207.5.2 Intel-HEX Format1207.5.3 Motorola-S Format1217.5.4 Conversion Range1217.6 Error/Warning Messages1227.6.1 Errors1227.6.2 Warning1227.7 Precautions1238 DISASSEMBLER1248.1 Functions1248.2 Input/Output Files1248.2.1 Input Files1248.2.2 Output Files1248.3 Starting Method1258.4 Messages1268.5 Disassembling Output1278.6 Error/Warning Messages1308.6.1 Errors1308.6.2 Warning1309 DEBUGGER1319.1 Features1319.2 Input/Output Files1319.2.1 Input Files1319.2.2 Output Files1329.3 Starting Method1339.3.1 Start-up Format1339.3.2 Start-up Options1339.3.3 Start-up Messages1349.3.4 Hardware Check at Start-up1349.3.5 Method of Termination1359.4 Windows1369.4.1 Basic Structure of Window1369.4.2 [Command] Window1389.4.3 [Source] Window1399.4.4 [Data] Window1419.4.5 [Register] Window1419.4.6 [Trace] Window1429.5 Tool Bar1439.5.1 Tool Bar Structure1439.5.2 [Key Break] Button1439.5.3 [Load File] and [Load Option] Buttons1439.5.4 [Source], [Mix], and [Unassemble] Buttons1439.5.5 [Go], [Go to Cursor], [Go from Reset], [Step], [Next], and [Reset] Buttons1439.5.6 [Break] Button1449.5.7 [Help] Button1449.6 Menu1459.6.1 Menu Structure1459.6.2 [File] Menu1459.6.3 [Run] Menu1459.6.4 [Break] Menu1469.6.5 [Trace] Menu1469.6.6 [View] Menu1469.6.7 [Option] Menu1479.6.8 [Windows] Menu1479.6.9 [Help] Menu1479.7 Method for Executing Commands1489.7.1 Entering Commands from Keyboard1489.7.2 Executing from Menu or Tool Bar1509.7.3 Executing from a Command File1519.7.4 Log File1529.8 Debug Functions1539.8.1 Loading Program and Option Data1539.8.2 Source Display and Symbolic Debugging Function1549.8.3 Displaying and Modifying Program, Data, and Register1569.8.4 Executing Program1589.8.5 Break Functions1609.8.6 Trace Functions1629.8.7 Coverage1659.9 Command Reference1669.9.1 Command List1669.9.2 Reference for Each Command1679.9.3 Program Memory Operation168as (assemble mnemonic)168pe (program memory enter)170pf (program memory fill)171pm (program memory move)1729.9.4 Data Memory Operation173dd (data memory dump)173de (data memory enter)175df (data memory fill)177dm (data memory move)1789.9.5 Register Operation179rd (register display)179rs (register set)1809.9.6 Program Execution181g (go)181gr (go after reset CPU)183s (step)184n (next)1859.9.7 CPU Reset186rst (reset CPU)1869.9.8 Break187bp (break point set)187bpc (break point clear)189bd (data break)190bdc (data break clear)192br (register break)193brc (register break clear)195bm (multiple break)196bmc (multiple break clear)198bl (break point list)199bac (break all clear)200be (break enable)201bsyn (break disable)2029.9.9 Program Display203u (unassemble)203sc (source code)204m (mix)2059.9.10 Symbol Information206sy (symbol list)2069.9.11 Load File207lf (load file)207lo (load option)2089.9.12 ROM Access209rp (ROM program load)209vp (ROM program verify)210rom (ROM type)2119.9.13 Trace212tc (trace condition)212ta (trace area)213tac (trace area clear)215tp (trace pointer)216td (trace data display)217ts (trace search)219tf (trace file)2219.9.14 Coverage222cv (coverage)222cvc (coverage clear)2239.9.15 Command File224com (execute command file)224rec (record commands to a file)2259.9.16 log226log (log)2269.9.17 Map Information227ma (map information)2279.9.18 Mode Setting228otf (on-the-fly display)228tim (time or step mode)2299.9.19 Self Diagnosis230chk (self diagnostic test)2309.9.20 Quit231q (quit)2319.10 Error/Warning Messages232Quick Reference233S1C6200 Core CPU234Memory Map234Registers234Instruction List235Symbols in the Instruction List235Branch instructions236System control instructions236Index operation instructions236Data transfer instructions237Flag operation instructions237Stack operation instructions237Arithmetic operation instructions238Development Tools239Software Development Flowchart239Work Bench wb62240Assembler as62244Linker lk62246HEX Converter hx62247Disassembler ds62248Debugger db62249Taille: 1,7 MoPages: 255Language: EnglishOuvrir le manuel