Download unSP Programming Tools User`s Manual

Transcript
UnSP Programming Tools User’s Manual
2.3.7 High Word and Low Word Address ............................................................... 27
2.3.8 Byte Address (Applied for unSP-1.3) ............................................................. 28
2.3.9 Upper and Lower Case ..................................................................................... 28
2.4 Assembler Directives ..................................................................................................... 28
2.4.1 Syntax................................................................................................................. 28
2.4.2 Notation.............................................................................................................. 29
2.4.3 Assembler Directives......................................................................................... 29
3 Linker ........................................................................................................................................ 50
3.1 General Description ....................................................................................................... 50
3.2 Default Filename Extensions ......................................................................................... 50
3.3 Limitations ..................................................................................................................... 50
3.4 Linking Address............................................................................................................. 50
3.5 Address Relocation Calculations ................................................................................... 51
3.6 Global Symbols.............................................................................................................. 51
3.7 Output Priorities............................................................................................................. 51
3.8 Output Formats .............................................................................................................. 51
3.9 Operating Instruction ..................................................................................................... 51
3.10 Prompt mode ................................................................................................................ 52
3.11 Prompt Mode Options.................................................................................................. 53
3.12 Command Line Mode .................................................................................................. 54
3.13 Enhanced Data File Mode............................................................................................ 55
3.13.1 Command Usage ............................................................................................. 56
3.13.2 Keywords ......................................................................................................... 56
3.14 Automatic Mode .......................................................................................................... 59
3.14.1 Command Usage ............................................................................................. 59
3.14.2 Keywords ......................................................................................................... 60
3.15 Offsets .......................................................................................................................... 61
3.16 Indirect Linking............................................................................................................ 62
3.17 Direct............................................................................................................................ 62
3.18 InDirect ........................................................................................................................ 62
3.19 Important rules for .Lik File......................................................................................... 62
3.19.1 Enhanced Data File Mode / Automatic Mode .............................................. 62
3.19.2 Lik File Syntax ................................................................................................ 63
© Generalplus Technology Inc.
PAGE 3
V1.2 Mar 31, 2008