mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
allow inherited classes to get its own opcode and mnemonic
This commit is contained in:
@@ -124,7 +124,7 @@ public abstract class Instruction {
|
||||
return false;
|
||||
}
|
||||
|
||||
String getMnemonic() {
|
||||
public String getMnemonic() {
|
||||
return mnemonic;
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ public abstract class Instruction {
|
||||
}
|
||||
}
|
||||
|
||||
int getOpCode() {
|
||||
public int getOpCode() {
|
||||
return opCode;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user