mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-12 22:38:54 +00:00
Fixed typo in SubInstruction
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user