MainComputersProgrammingLanguages › PL/M-80 Language Summary

PL/M-80 Language Summary

Edit Page
Report
Scan day: 16 February 2014 UTC
9
Virus safety - good
Description: Description of the syntax and semantics of PL/M-80.
PL/M-80 Language Summary PL/M-80 is a programming language for i8080 systems. It is based most notable on PL/I. It has the type of block structure and scope rules most programmers now expect despite the fact it is a fairly small language. The one thing that may "trip-up" may Pascal programmers is that PL/M (and its PL/I big brother) use semicolon as a terminator, not as a statement separator. Semicolons mark the end of every statement. The remainder of this file summarizes the PL/M-80 language and its features. It is only a summary; no attempt is made to provide a complete and unambiguous description. PL/M Character Set ================== Alphabetics: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Numerics: 0 1 2 3 4 5 6 7 8 9 Specials: $ = . / ( ) + - ' * , : ; and space All other characters are unrecognized by PL/M in the sense that they are regarded as equivalent to the space character. PL/M Identifiers ================ Identifiers may be from 1 to 31 characters in length. An alphabetic must be the first character in an identifer name; the remainder may be alphabetic or numeric. In addition, dollar signs may be imbedded within a variable name to improve readability. They are ignored by PL/M. (The identifiers LINE$COUNT and LINECOUNT are interpreted as identical names.) The following are all reserved words, and may not be used as identifier names: ADDRESS DATA EOF LABEL PROCEDURE AND DECLARE GO LITERALLY RETURN BASED DISABLE GOTO MINUS THEN BY DO HALT MOD TO BYTE ELSE IF NOT WHILE CALL ENABLE INITIAL OR XOR CASE END INTERRUPT PLUS PL/M Data Types =============== There are two data types in PL/M. The data type BYTE refers to 8-bit data; ADDRESS, to 16. It is also possible to construct arrays of either type and pointers to either type. PL/M Constants ================ Numeric constants may be expressed as binary, octal, decimal, and hexadecimal numbers. The radix for the number is specified by a letter appended to the number: B for binary, O and Q for octal, D for decimal, and H for hexadecimal
Size: 2048 chars

Contact Information

Email:
Phone&Fax:
Address:
Extended:

WEBSITE Info

Page title:PL/M-80 Language Summary
Keywords:PL/M, PL/M-80, Z80, 8080
Description:
IP-address:82.165.74.210

WHOIS Info

NS
WHOIS
Status: connect
Date
Changed: 2011-11-16T18:02:16+01:00
Changed: 2012-12-10T20:50:22+01:00
Changed: 2012-12-10T20:50:22+01:00