LINK-80 OPERATOR'S GUIDE
 

Copyright (c) 1980

Digital Research
P.O. Box 579
801 Lighthouse Avenue
Pacific Grove, CA 93950
(408) 649-3896
TWX 910 360 5001

All Rights Reserved
 


TABLE OF CONTENTS



1. LINK LINKAGE EDITOR

1.1. LINK Operation
1.2. LINK Switches
1.2.1. The Additional memory (A) Switch
1.2.2. The Data Origin (D) Switch
1.2.3. The Go (G) Switch
1.2.4. The Load Address (L) Switch
1.2.5. The Memory Size (M) Switch
1.2.6. The No List (NL) Switch
1.2.7. The No Recording of Symbols (NS) Switch
1.2.8. The Output COM File (OC) Switch
1.2.9. The Output PRL File (OP) Switch
1.2.10. The Program Origin (P) Switch
1.2.11. The '?' Symbol (Q) Switch
1.2.12. The Search (S) Switch
1.3. Creating MP/M PRL Files
1.4. Sample Link
1.5. Error Messages
1.6. Format of REL Files
1.7. Format of IRL Files
2. RMAC RELOCATING MACRO ASSEMBLER
2.1. RMAC Operation
2.2. Expressions
2.3. Assembler Directives
2.3.1. The ASEG Directive
2.3.2. The CSEG Directive
2.3.3. The DSEG Directive
2.3.4. The COMMON Directive
2.3.5. The PUBLIC Directive
2.3.6. The EXTRN Directive
2.3.7. The NAME Directive
3. LIB PROGRAM LIBRARIAN
3.1. LIB Operation
3.2. Error Messages
4. DATA REPRESENTATION AND INTERFACE CONVENTIONS
4.1. Representation of Data Elements
4.1.1. Pointers, and Entry and Label Variables
4.1.2. Fixed Binary Data Format
4.1.3. Bit Data Representation
4.1.4. Character Data Representation
4.1.5. Fixed Decimal Data Representation
4.1.6. Floating Point Binary Representation
4.1.7. File Constant Representation
4.2. Layout of Aggregate Storage
4.3. General Parameter Passing Conventions
4.4. Returning Values from Functions
4.4.1. Returning Pointer, Entry, and Label Variables
4.4.2. Returning Fixed Binary Data
4.4.3. Returning Bit String Data
4.4.4. Returning Character Data
4.4.5. Returning Fixed Decimal Data
4.4.6. Returning Floating Point Numbers
5. PL/I-80 RUNTIME SUBROUTINES
5.1. Stack and Dynamic Storage Subroutines
5.1.1. The TOTWDS and MAXWDS Functions
5.1.2. The ALLWDS Subroutine
5.1.3. The STKSIZ Function
5.2. PL/I-80 Runtime Subroutine Entry Points
5.3. Direct CP/M Function Calls
APPENDIX A: Listing of "PLIDIO" Direct CP/M Call Entry Points
APPENDIX B: Listing of "DIOCALLS" Showing the Basic CP/M Direct Interface
APPENDIX C: Listing of "DIOCOPY" Showing Direct CP/M File I/O Operations
APPENDIX D: Listing of "DIORAND" Showing Extended Random Access Calls
APPENDIX E: Description of Overlays and File Location Controls
APPENDIX F: Description of XREF Cross-Reference Utility


COPYRIGHT

Copyright (c) 1980 by Digital Research. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by anv means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without the prior written permission of Digital Research, Post Office Box 579, Pacific Grove, California, 93950.

This manual is, however, tutorial in nature. Thus, permission is granted to reproduce or abstract the example programs shown in the enclosed figures for the purposes of inclusion within the reader's programs.
 
 

DISCLAIMER

Digital Research makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Further, Digital Research reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of Digital Research to notify any Person of such revision or changes.
 
 

TRADEMARKS

CP/M is a registered trademark of Digital Research. PL/I-80, MP/M-80, RMAC, SID, ZSID and TEX are trademarks of Digital Research.

The "LINK-80 Operator's Guide" was Prepared using the Digital Research TEX Text formatter.

Second Printing: December, 1980.


Next     Contents     Back to RMAC Page