summaryrefslogtreecommitdiff
path: root/src/pim/Machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pim/Machine.h')
-rw-r--r--src/pim/Machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pim/Machine.h b/src/pim/Machine.h
index dcaef92..a40dd51 100644
--- a/src/pim/Machine.h
+++ b/src/pim/Machine.h
@@ -42,6 +42,7 @@ namespace pim
#define CSA(argument) (*((Word*)&ram[framePointer-argument]))
#define CS() (*((Word*)&ram[callStack]))
#define PS() (*((Word*)&ram[programStack]))
+ #define PPROP(index, property) (*((Word*)(&sim->parts[(index)]+property)))
int programStack; //Points to the item on top of the Program Stack
int callStack; //Points to the item on top of the call stack