Intel XENIX 286 Programmers Guide (86) - Tenox.tc
Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc
XENIX Programming CONTENTS Using the adb Memory Maps Displaying the Memory Maps Changing the Memory Map Creating New Map Entries Validating Addresses Miscellaneous Features Combining Commands on a Single Line Creating adb Scripts Setting Output Width Setting the Maximum Offset Setting Default Input Format Using XENIX Commands Computing Numbers and Displaying Text An Example: Directory and Inode Dumps Patching Binary Files Locating Values in a File Writing to a File Making Changes to Memory CHAPTER 7 as: ASSEMBLER Command Usage Lexical Conventions Identifiers Constants White Space Comments Assembly Segments Text, Data, and Bss Segments The Location Counter Statements Labels Null Statements Expression Statements Assignment Statements Keyword Statements Expressions Expression Operators Types Type Propagation in Expressions Table of Contents PAGE 6-22 6-22 6-24 6-24 6-25 6-25 6-25 6-26 6-26 6-27 6-27 6-28 6-28 6-29 6-30 6-30 6-31 6-31 7-1 7-2 7-2 7-2 7-2 7-2 7-3 7-3 7-4 7-4 7-4 7-5 7-5 7-5 7-6 7-6 7-6 7-6 7-7 vii
Table of Contents CONTENTS Assembler Directives Even Directive Floating-Point Directives Global Directive Segment Directives Common Directive Insert Directive ASCII Directives Listing Directives Block Directives Initial Value Directives End Directive Machine Instructions Mnemonic List Byte Instructions Branch Instructions · String Instructions Intersegment Instructions Input/Output Instructions 80286 Instructions Addressing Modes Register Operands Immediate Operands Direct Address Operands Based Operands Indexed Operands Based Indexed Operands Indirect Address Operands Diagnostics CHAPTER 8 csh: C SHELL Invoking the C Shell Using Shell Variables Using the C Shell History List Using Aliases Redirecting Input and Output Creating Background and Foreground Jobs Using Built-In Commands Creating Command Scripts Using the argv Variable Substituting Shell Variables Using Expressions Using the C Shell: A Sample Script Using Other Control Structures Supplying Input to Commands Catching Interrupts Using Other Features viii XENIX Programming PAGE 7-8 7-8 7-9 7-9 7-9 7-10 7-10 7-10 7-11 7-11 7-12 7-12 7-12 7-12 7-16 7-17 7-17 7-18 7-18 7-18 7-19 7-19 7-20 7-20 7-21 7-21 7-22 7-22 7-23 8-1 8-2 8-4 8-6 8-7 8-8 8-9 8-10 8-11 8-11 8-13 8-14 8-16 8-17 8-18 8-18
- Page 1 and 2: 0 • • •
- Page 3 and 4: The information in this document is
- Page 5 and 6: Table of Contents CONTENTS Compiler
- Page 7: Table of Contents CONTENTS Using Ot
- Page 11 and 12: Table of Contents CONTENTS CHAPTER
- Page 13 and 14: Table of Contents TABLES TABLE TITL
- Page 15 and 16: Introduction XENIX Programming 10.
- Page 17 and 18: cc: C Compiler XENIX Programming Cr
- Page 19 and 20: cc: C Compiler XENIX Programming Th
- Page 21 and 22: cc: C Compiler XENIX Programming Th
- Page 23 and 24: cc: C Compiler XENIX Programming Cr
- Page 25 and 26: cc: C Compiler XENIX Programming Th
- Page 27 and 28: cc: C Compiler XENIX Programming Co
- Page 29 and 30: cc: C Compiler XENIX Programming Sa
- Page 31 and 32: cc: C Compiler XENIX Programming Us
- Page 33 and 34: cc: C Compiler XENIX Programming Wh
- Page 35 and 36: cc: C Compiler XENIX Programming Co
- Page 37 and 38: cc: C Compiler XENIX Programming d
- Page 39 and 40: cc: C Compiler XENIX Programming Se
- Page 41 and 42: lint: C Program Checker XENIX Progr
- Page 43 and 44: lint: C Program Checker XENIX Progr
- Page 45 and 46: lint: C Program Checker XENIX Progr
- Page 47 and 48: lint: C Program Checker XENIX Progr
- Page 49 and 50: lint: C Program Checker XENIX Progr
- Page 51 and 52: lint: C Program Checker XENIX Progr
- Page 53 and 54: make: Program Maintainer XENIX Prog
- Page 55 and 56: make: Program Maintainer XENIX Prog
- Page 57 and 58: make: Program Maintainer XENIX Prog
Table of Contents<br />
CONTENTS<br />
Assembler Directives<br />
Even Directive<br />
Floating-Point Directives<br />
Global Directive<br />
Segment Directives<br />
Common Directive<br />
Insert Directive<br />
ASCII Directives<br />
Listing Directives<br />
Block Directives<br />
Initial Value Directives<br />
End Directive<br />
Machine Instructions<br />
Mnemonic List<br />
Byte Instructions<br />
Branch Instructions<br />
· String Instructions<br />
Intersegment Instructions<br />
Input/Output Instructions<br />
80<strong>2<strong>86</strong></strong> Instructions<br />
Addressing Modes<br />
Register Operands<br />
Immediate Operands<br />
Direct Address Operands<br />
Based Operands<br />
Indexed Operands<br />
Based Indexed Operands<br />
Indirect Address Operands<br />
Diagnostics<br />
CHAPTER 8<br />
csh: C SHELL<br />
Invoking the C Shell<br />
Using Shell Variables<br />
Using the C Shell History List<br />
Using Aliases<br />
Redirecting Input and Output<br />
Creating Background and Foreground Jobs<br />
Using Built-In Commands<br />
Creating Command Scripts<br />
Using the argv Variable<br />
Substituting Shell Variables<br />
Using Expressions<br />
Using the C Shell: A Sample Script<br />
Using Other Control Structures<br />
Supplying Input to Commands<br />
Ca<strong>tc</strong>hing Interrupts<br />
Using Other Features<br />
viii<br />
<strong>XENIX</strong> Programming<br />
PAGE<br />
7-8<br />
7-8<br />
7-9<br />
7-9<br />
7-9<br />
7-10<br />
7-10<br />
7-10<br />
7-11<br />
7-11<br />
7-12<br />
7-12<br />
7-12<br />
7-12<br />
7-16<br />
7-17<br />
7-17<br />
7-18<br />
7-18<br />
7-18<br />
7-19<br />
7-19<br />
7-20<br />
7-20<br />
7-21<br />
7-21<br />
7-22<br />
7-22<br />
7-23<br />
8-1<br />
8-2<br />
8-4<br />
8-6<br />
8-7<br />
8-8<br />
8-9<br />
8-10<br />
8-11<br />
8-11<br />
8-13<br />
8-14<br />
8-16<br />
8-17<br />
8-18<br />
8-18