7.5. Coding Examples

LSB-conforming applications may use the coding examples given in Section 3.5 of the System V Application Binary Interface AMD64 Architecture Processor Supplement to guide implemention of fundamental operations in the following areas.

7.5.1. Code Model Overview/Architecture Constraints

Section 3.5.1 of the System V Application Binary Interface AMD64 Architecture Processor Supplement describes a number of code models. LSB-Conforming applications may use any of these models except the Kernel and Large code models.

7.5.2. Position-Independent Function Prologue

LSB-conforming applications may follow the position-independent function prologue example in Section 3.5.3 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.

7.5.3. Data Objects

LSB-conforming applications may follow the data objects examples in Section 3.5.4 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.

7.5.4. Function Calls

LSB-conforming applications may follow the function call examples in Section 3.5.5 of the System V Application Binary Interface AMD64 Architecture Processor Supplement. See Chapter 3 of System V Application Binary Interface AMD64 Architecture Processor Supplement.

7.5.5. Branching

LSB-conforming applications may follow the branching examples in Section 3.5.6 of the System V Application Binary Interface AMD64 Architecture Processor Supplement.