Unverified Commit 4a5ebb4d authored by petter's avatar petter

Forgot SLIDE in last patch

git-svn-id: https://www2.in.tum.de/repos/vam@10 e840d55b-1d80-4f23-a9d8-6aec749d046a
parent 9d5d3c2a
package vam.machines.cma;
import vam.base.Memory;
public class SLIDE extends MainCommand
{
int number;
public SLIDE(int n)
{
super("SLIDE "+n);
number = n;
}
public void execute()
{
String type = memory.getType(SP());
memory.store(SP(), SP() - number, Memory.NOCOPY, type);
SP(SP() - number);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment