- •IMPORTANT NOTICE
- •Read This First
- •About This Manual
- •Notational Conventions
- •Related Documentation From Texas Instruments
- •Trademarks
- •Contents
- •Tables
- •Examples
- •Getting Started With ppca
- •About ppca
- •Program Development
- •Invoking ppca
- •Summary of Directives
- •Using ppca
- •Declaring Variables
- •Dummy Variables
- •Defining Entry Points
- •Specifying Program Flow
- •Specifying a branch to a label inside the current file
- •The .ujump directive
- •The .cjump directive
- •Specifying a branch or return to a point outside the current file
- •Calling external subroutines
- •Reserving Registers
- •Controlling Register and Variable Lifetime
- •Controlling Compaction
- •The register move instruction
- •The pack directives
- •Controlling Scheduling
- •Copying the Contents of an Include File
- •Compacting Before Register Allocation
- •ppca Outputs
- •Output Format
- •Variable Naming Conventions
- •Variable-Usage Table
- •Opcode-Usage Table
- •Progress and Error Messages
- •Parse-stage messages
- •Register-allocation messages
- •Compaction messages
- •Known Deficiencies
Chapter 2
Using ppca
This chapter explains how to use ppca. In describing the tasks that the tool performs, the ppca-specific directives are discussed, including their syntax, and examples are provided.
Topic |
|
Page |
|
|
|
2.1 |
Declaring Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . 2-2 |
2.2 |
Defining Entry Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. 2-4 |
2.3 |
Specifying Program Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. 2-5 |
2.4 |
Reserving Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2-11 |
2.5 |
Controlling Register and Variable Lifetime . . . . . . . . . . . . . . . . . . . . . |
2-12 |
2.6 |
Controlling Compaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2-13 |
2.7 |
Controlling Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2-14 |
2.8 |
Copying the Contents of an Include File . . . . . . . . . . . . . . . . . . . . . . . |
2-15 |
2.9 |
Compacting Before Register Allocation . . . . . . . . . . . . . . . . . . . . . . . . |
2-16 |
|
|
|
2-1
