Jump to content

Category:PL/M: Difference between revisions

no edit summary
(Language stub)
No edit summary
Line 1:
{{languagestub}}{{stublanguage}}
 
PL/M (Programming Language for Microcomputers) is (as the name suggests) a language designed for microcomputer software, particularly system software.
<br>
<br>
It is approximately a very small subset of PL/1 (though not a strict subset).
<br>
The following statements were available:
* assignment
* CALL
* DECLARE
* DO-END
* IF-THEN-ELSE
* GOTO
* PROCEDURE-END
* RETURN
Additionally a number of compiler directive statements existed. There are no built-in I/O statements - calls to appropriate routines would be made instead.
<br><br>
Unlike PL1, PL/M keywords are reserved and so cannot be used as identifiers.
<br>
Available datatypes (BYTE, WORD, etc.) reflected the available types of the microprocessors.
<br><br>
The declaration of structures in PL/M does not use level-numbers, instead a syntax more like C structs is used, e.g.:
<lang PLM>DECLARE A STRUCTURE ( B BYTE, C WORD );</lang>
declares a structure A with two members, B and C.
<br>
<br>
PL/M was used in the development of the CP/M operating system and associated applications.
<br>
Compilers were available for a number of microprocessors including the 8080 Z80.
<br>
<br>
==See Also==
* [[wp:https://en.wikipedia.org/wiki/PL/M|Wikipedia page on PL/M]]: [https://en.wikipedia.org/wiki/PL/M]
* [[PL/1]]
3,038

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.