P-code


The intermediate code produced by the Pascal-P compiler. It is the assembly language for a hypothetical stack machine, the P-machine, and said to have been an imitation of the instruction set for the Burroughs Large System. The term was first used in Algorithms + Data Structures = Programs, Niklaus Wirth, Prentice-Hall 1976. Byte articles on writing a Pascal Compiler in Northstar BASIC (about Aug 1978) also used the term. P-code was also later used in Apple Pascal, and as the intermediate language in the UCSD P-system.

"A Comparison of PASCAL Intermediate Languages", P. A. Nelson, SIGPLAN Notices 14(8):208-213 (Aug 1979).

P2 P-code

P4 P-code

UCSD P-code

LASL P-code