mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Correct CMPw.
This commit is contained in:
parent
1bb809098c
commit
2f2d6bc08b
@ -350,7 +350,7 @@ template <
|
|||||||
|
|
||||||
case Operation::CMPw: {
|
case Operation::CMPw: {
|
||||||
const uint16_t source = src.w;
|
const uint16_t source = src.w;
|
||||||
const uint16_t destination = src.w;
|
const uint16_t destination = dest.w;
|
||||||
const int result = destination - source;
|
const int result = destination - source;
|
||||||
|
|
||||||
status.zero_result_ = result & 0xffff;
|
status.zero_result_ = result & 0xffff;
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
- (void)setUp {
|
- (void)setUp {
|
||||||
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
|
// To limit tests run to a subset of files and/or of tests, uncomment and fill in below.
|
||||||
_fileSet = [NSSet setWithArray:@[@"add_sub.json"]];
|
_fileSet = [NSSet setWithArray:@[@"eor_and_or.json"]];
|
||||||
|
// _testSet = [NSSet setWithArray:@[@"OR 8103"]];
|
||||||
// _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]];
|
// _fileSet = [NSSet setWithArray:@[@"jmp_jsr.json"]];
|
||||||
// _testSet = [NSSet setWithArray:@[@"CHK 41a8"]];
|
// _testSet = [NSSet setWithArray:@[@"CHK 41a8"]];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user