Contact us Heritage collections Image license terms
HOME ACL Associates Technology Literature Applications Society Software revisited
Further reading □ Contents1. Introduction2. Basic symbols and comments3. Identifiers, accumulators and cells4. Types and values5. Addresses and storage allocation6. Simple cell designation7. Assignment statements8. Integer accumulator assignments9. Real accumulator assignments10. Long accumulator assignments11. Cell assignments12. Block structure13. Procedures and labels14. Conditional and control statements15. Functions16. Cell declarations17. Synonym declarations18. Storage allocation19. Subcompilation and global storage20. Define statements, conditional compilation and include statements21. Compiler directives22. FORTRAN/PLASYD mixed programming23. ALGOL/PLASYD mixed programming24. Useful library routines25. Use of TASK macro to compile PLASYD programs26. SMO cell designation27. Compiler output28. PLAN instructions not provided for in PLASYD □ Appendices □ 1: Errors and comments2: 1900 character set3: Syntax definitions in alphabetical order4: Use of program XMED5: 1900 order code6: Code genereated for typical PLASYD statements7: A sample PLASYD program8: Less commonly used directivesReferences
ACD C&A INF CCD CISD Archives Contact us Heritage archives Image license terms

Search

   
ACLLiteratureICL 1906A manualsPLASYD
ACLLiteratureICL 1906A manualsPLASYD
ACL ACD C&A INF CCD CISD Archives
Further reading

Contents1. Introduction2. Basic symbols and comments3. Identifiers, accumulators and cells4. Types and values5. Addresses and storage allocation6. Simple cell designation7. Assignment statements8. Integer accumulator assignments9. Real accumulator assignments10. Long accumulator assignments11. Cell assignments12. Block structure13. Procedures and labels14. Conditional and control statements15. Functions16. Cell declarations17. Synonym declarations18. Storage allocation19. Subcompilation and global storage20. Define statements, conditional compilation and include statements21. Compiler directives22. FORTRAN/PLASYD mixed programming23. ALGOL/PLASYD mixed programming24. Useful library routines25. Use of TASK macro to compile PLASYD programs26. SMO cell designation27. Compiler output28. PLAN instructions not provided for in PLASYD
Appendices
1: Errors and comments2: 1900 character set3: Syntax definitions in alphabetical order4: Use of program XMED5: 1900 order code6: Code genereated for typical PLASYD statements7: A sample PLASYD program8: Less commonly used directivesReferences

APPENDIX 8: LESS COMMONLY USED DIRECTIVES

A8.1 ADDTO

This directive has a similar effect to SENDTO, the difference being that if the file used already contains subfiles, these will be erased by SENDTO, but left unaltered by ADDTO.

A8.2 DUMPON

This directive specifies the file to which the consolidator is to send the binary version of the program. It is necessary to have a DUMPON directive if an overlay program is being compiled, but otherwise the binary may be left in core to be run or SAVE'd.

A8.3 TRUSTED and PRIORITY

The trusted status of the object program may be set by means of the TRUSTED directive. Statuses Q, R, S, T are represented by the values 8, 4, 2, 1 respectively, and the parameter of the directive is formed by adding together the required values. The priority of the program may be specified as a two digit decimal number in the PRIORITY directive, but is meaningless under GEORGE.

A8.4 PROGEVEN and IGNORE

These directives, with parameters LOWER and/or UPPER, affect the placement of relativiser areas within the compiled program. The PROGEVEN directive causes the appropriate areas to begin on even number words of store. This can be used to increase the speed of running of heavily CPU-bound programs. The IGNORE directive prevents any SEGEVEN directives from taking effect.

A8.5 SEGMENTS

This directive causes the compiler to halt EC at the end of successful compilation. The default action is to delete FI #XPCK.

A8.6 OVERLAY and OVERCOMMON

The format of an OVERLAY directive is:

OVERLAY (area,unit) name 1,name 2,name 3...

The area number must be less than 255, and the unit number less than 1023. The names are the names of segments in the overlay. The OVERCOMMON directive is similar, but the names in this case are of global areas. There may be any number of OVERLAY and OVERCOMMON directives in a program description, but each may be at most one line in length.

A8.7 SEGMENT MODE

This directive is similar to PROGRAM MODE except that the address checking mode parameter is omitted, and the options MIXAM for mixed address mode and MIXBM for mixed branch mode are added. The default options are MIXAM and MIXBM.

A8.8 SEGEVEN

This directive is similar to PROGEVEN. If it is desired to remove the restriction that relativiser areas should begin on even numbered words of store, the directive SEGEVEN, without any bracketed qualifying sequence, may be used. If neither PROGEVEN nor SEGEVEN directives are used, relativiser areas are not restricted.

A8.9 SMOMACRO and COMPILESMO

If the SMOMACRO directive is used, all SMO instructions generated by the compiler will be converted into a sequence of instructions which will simulate the effect of the SMO. If the COMPILESMO directive is used, SMO instructions will be included in the object code where required. If neither directive is used, the compiler will check whether or not SMO instructions are available on the processor on which it is running, and act accordingly.

A8.10 READFROM

Use of this directive allows program source to be read from a direct access file in subfile format, where it has been placed by the utility program XMED, as described in Appendix 4. If a filename and subfilename are given, the compiler will attempt to open a direct access file of that name, and include the contents of the specified subfile as if they were part of the source code. If a filename only is given, all subfiles in the specified file will be included. If a subfilename only is given, it will be assumed to be in the file which is currently in use. The compiler uses DA14 for reading files specified by this directive.

⇑ Top of page
© Chilton Computing and UKRI Science and Technology Facilities Council webmaster@chilton-computing.org.uk
Our thanks to UKRI Science and Technology Facilities Council for hosting this site