Search:

Menu

GPMachine

Download

Feedback/Contribution

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
Page last modified on October 14, 2008, at 04:18 PM

copyright (c) 2008 by Faculté d Informatique, FUNDP Namur