From GPMachine

Main: Pcode

PCode

Instructions recognized by the GPMachine are defined in Reinard Wilhelm and Dieter Maurer, Compiler Design.

Note

The way several p-instruction are interpreted differs in GPMachine 3.0 from previous versions. GPMachine now follows strictly Wilhelm and Maurer definition. The only two exceptions are the I/O instructions :

InstructionSemantics
readSTORE[SP] = <element read (integer only)>

SP = SP+1
InstructionSemantics
prinprint the content of STORE[SP] (integer only)

SP = SP-1
Retrieved from https://projects.info.unamur.be/gpm/index.php/Main/Pcode
Page last modified on October 14, 2008, at 04:18 PM