mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 02:56:44 +00:00
Fixes #58
This commit is contained in:
parent
18aaf91991
commit
72d43fccf7
@ -237,7 +237,7 @@ public class CPU implements JSONSerialisable {
|
||||
} else if (destination <= registerSetSize * 2) {
|
||||
//Destination is [reg]
|
||||
ip++;
|
||||
instruction.execute(memory, registerSet.get(destination - registerSetSize), memory, sourceValue, status);
|
||||
instruction.execute(memory, registerSet.get(destination - registerSetSize), sourceValue, status);
|
||||
} else {
|
||||
//Assuming that destination is [reg + x]
|
||||
ip += 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user