|
|||||||||||
|
Technical Support On-Line Manuals A166 User's Guide |
A166 User's GuideA166 IntroductionThe A166 Assembler is a program that translates symbolic code (assembly language) into executable object code. This object code can be executed with an XC16x/C16x/ST10 microcontroller. If you have ever written a computer program directly in machine-recognizable form, such as binary or hexadecimal code, you will appreciate the advantages of programming in symbolic assembly language. Assembly language operation codes (mnemonics) are easily remembered (MOV for move instructions, ADD for addition, and so on). You may symbolically express addresses and values referenced in the operand field of instructions. Because you assign these names, you can make them as meaningful as the mnemonics for the instructions. For example, if your program must manipulate a date as data, you may assign it the symbolic name DATE. If your program contains a set of instructions used as a timing loop (executed repeatedly until a specific amount of time has passed), you can name the instruction group TIMER_LOOP. An assembly program consists of three types of constructs:
| ||||||||||
|
|||||||||||