Technical Reference Table of Contents î‚• v
Macros............................................................................................. 84
Program Flow ...................................................................................... 86
Loops...............................................................................................86
Continue and Break......................................................................... 87
Branching ........................................................................................ 89
Data ...................................................................................................... 91
Primitive Data Types ....................................................................... 91
Aggregate Data Types ..................................................................... 92
Storage Classes ...............................................................................94
Pointers ...........................................................................................94
Argument Passing ........................................................................... 95
Memory Management .......................................................................... 96
Memory Partitions .......................................................................... 97
C Language Elements ..........................................................................99
Keywords ........................................................................................ 99
Names ........................................................................................... 112
Numbers ........................................................................................ 112
Strings and Character Data............................................................ 113
Operators ....................................................................................... 115
Directives ...................................................................................... 124
Punctuation ................................................................................... 127
Extended Memory Data ................................................................ 127
Chapter 6: Using Assembly Language 129
Register Summary ............................................................................. 131
General Concepts ............................................................................... 131
Comments ..................................................................................... 132
Labels ............................................................................................ 132
Defining Constants........................................................................ 132
Expressions ................................................................................... 133
Special Symbols ............................................................................ 133
C Variables .................................................................................... 134
Standalone Assembly Code ............................................................... 135
Embedded Assembly Code ................................................................ 135
No IX, Function in Root Memory................................................. 136
Using IX, Function in Root Memory ............................................ 138
No IX, Function in Extended Memory ......................................... 139
C Functions Calling Assembly Code ................................................. 140
Assembly Code Calling C Functions ................................................. 142
Indirect Function Calls in Assembly .................................................. 143
Interrupt Routines in Assembly ......................................................... 143
Common Problems ............................................................................ 145