allow inherited classes to get its own opcode and mnemonic

This commit is contained in:
Kevin Ramharak 2019-01-22 18:48:49 +01:00
parent 2590e8ec64
commit 0ff671713c

View File

@ -124,7 +124,7 @@ public abstract class Instruction {
return false; return false;
} }
String getMnemonic() { public String getMnemonic() {
return mnemonic; return mnemonic;
} }
@ -208,7 +208,7 @@ public abstract class Instruction {
} }
} }
int getOpCode() { public int getOpCode() {
return opCode; return opCode;
} }
} }