RobotOpCodes.mesa
Created Monday, May 21, 1984 10:38 pm PDT
Last edited by Eric Nickell, July 3, 1985 5:54:47 pm PDT
DIRECTORY
RobotDefs USING [Memory, MemoryIndex, MemoryMap],
Rope USING [ROPE];
RobotOpCodes:
CEDAR
DEFINITIONS ~ {
MemoryIndex: TYPE ~ RobotDefs.MemoryIndex;
Memory: TYPE ~ RobotDefs.Memory;
IsOpCode: PROC [r: Rope.ROPE] RETURNS [BOOLEAN];
OpCode:
PROC [r: Rope.
ROPE]
RETURNS [
REF INTEGER];
DoOpCode:
PROC [op:
INT, addr, cont:
INTEGER, m:
REF Memory]
RETURNS [memoryWritten: RobotDefs.MemoryMap];
Perform the operation on the appropriate values.
}.