Part Number Hot Search : 
F130415 PE3706LF SS3020HE RT1P144S 24010 45223C 6F2AL 51164
Product Description
Full Text Search
 

To Download 6170 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 AST6/LST6 ASSEMBLER & LINKER FOR THE ST6 FAMILY
User Guide
Release 1.0
May 1997
1
USE IN LIFE SUPPORT DEVICES OR SYSTEMS MUST BE EXPRESSLY AUTHORIZED. STMicroelectronics PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF STMicroelectronics. As used herein: 1. Life support devices or systems are those which (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided with the product, can be reasonably expected to result in significant injury to the user. 2. A critical component is any component of a life support device or system whose failure to perform can reasonably be expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
2
Table of Contents
1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1 What is assembler language? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 Programming Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2.1 Using Modular Source Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2.2 Using Paged Program Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2.3 Using a Single Source File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3 Debugging Executable files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.4 Loading Executable Files into ST6 Microcontrollers . . . . . . . . . . . . . . 9 1.5 ST6 Memory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.6 Installing AST6/LST6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 GLOSSARY OF TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 AST6 AND LST6 SOURCE AND GENERATED FILES . . . . . . . . . . . . . . . . . . 16 3.1 Source Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.1 Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1.2 Mnemonics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.1.3 Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.3.1 Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.3.2 String and Character Constants . . . . . . . . . . . . . . . . . . . . . 3.1.3.3 Program Counter Reference . . . . . . . . . . . . . . . . . . . . . . . 3.1.3.4 Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 17 18 18 18
3.1.4 Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.2 Generated Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.2.1 Executable and Data Space Symbol Files . . . . . . . . . . . . . . . . . . . . 20 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 Listing Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Including a Map Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linker Memory Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cross Reference Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Symbol Table Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 21 22 23 24 25
4 WORKING WITH THE PROGRAM SPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.1 Paged Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.2 Developing Programs for the Paged Area . . . . . . . . . . . . . . . . . . . . . . 27 4.2.1 Accessing Paged Program Space . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3/86
Table of Contents
4.3 Using Absolute Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.4 ROM Masking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5 WORKING WITH THE DATA SPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.1 Example Data Space Definitions File . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.2 Paged Data Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.2.1 Writing to Data Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.2.2 Accessing Data Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5.3 Using the Data ROM Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.4 Accessing Data Within the Data ROM Window . . . . . . . . . . . . . . . . . . 37 5.4.1 Using


▲Up To Search▲   

 
Price & Availability of 6170

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X