# Object oriented programming in PLAN
# First word of object is pointer to dispatch table
# Each entry of dispatch table is
# CALL L METHOD
# L, the link register should be same as one in MCALL
# to avoid wasting registers
# Call a method
# Reg: Link
# Arg#1: Index register pointing to object
# Arg#2: method number
#MACRO
MCALL L P,M
LDX L 0(P) [ get dispatch table
OBEY M(1) [ call method