From 045566803d575d3644d67538f38f9406dfb9dcfd Mon Sep 17 00:00:00 2001 From: ehuang32 <ericchristopherwong@gmail.com> Date: Fri, 23 Oct 2020 12:55:09 +1100 Subject: [PATCH] changed push to 4, pop to 3 --- fuzzer/Instruction.java | 4 ++-- runCount.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fuzzer/Instruction.java b/fuzzer/Instruction.java index b7a7229..d3d2690 100644 --- a/fuzzer/Instruction.java +++ b/fuzzer/Instruction.java @@ -10,8 +10,8 @@ public enum Instruction { SUB("-",new OperandType[]{}, 2, -1, 2), MULT("*",new OperandType[]{}, 2, -1, 2), DIV("/",new OperandType[]{}, 2, -1, 2), - PUSH("push",new OperandType[]{OperandType.STRING}, 0, 1, 3), - POP("pop",new OperandType[]{}, 1, -1, 4), + PUSH("push",new OperandType[]{OperandType.STRING}, 0, 1, 4), + POP("pop",new OperandType[]{}, 1, -1, 3), LOAD("load",new OperandType[]{OperandType.STRING}, 0, 1, 1), //Note. Check variable existence REM("remove",new OperandType[]{OperandType.STRING}, 0, 0, 1), //Note. Check variable existence STORE("store",new OperandType[]{OperandType.STRING}, 1, -1, 1), diff --git a/runCount.txt b/runCount.txt index e69de29..c227083 100644 --- a/runCount.txt +++ b/runCount.txt @@ -0,0 +1 @@ +0 \ No newline at end of file -- GitLab