mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
allow inherited classes to get its own opcode and mnemonic
This commit is contained in:
parent
2590e8ec64
commit
0ff671713c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user