mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-16 09:16:44 +00:00
Merge pull request #41 from cooprocks123e/bugfix
Fixed typo in SubInstruction
This commit is contained in:
commit
1b6927c575
@ -29,7 +29,7 @@ public class SubInstruction extends Instruction {
|
||||
|
||||
status.setSignFlag(Util.checkSign16(result));
|
||||
status.setZeroFlag((char) result == 0);
|
||||
status.setOverflowFlag(Util.checkOverFlowAdd16(a, b));
|
||||
status.setOverflowFlag(Util.checkOverFlowSub16(a, b));
|
||||
status.setCarryFlag(Util.checkCarry16(result));
|
||||
|
||||
dst.set(dstIndex, result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user