1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-16 18:30:32 +00:00

Fix far jump with immediate operand.

1655 failures remaining.
This commit is contained in:
Thomas Harte 2023-10-23 10:07:19 -04:00
parent 569cf8bf34
commit 82c66e7433
2 changed files with 7 additions and 8 deletions

View File

@ -878,7 +878,7 @@ void jump_far(InstructionT &instruction,
const auto pointer = instruction.destination();
switch(pointer.template source<false>()) {
default:
case Source::Immediate: flow_controller.call(instruction.segment(), instruction.offset()); return;
case Source::Immediate: flow_controller.jump(instruction.segment(), instruction.offset()); return;
case Source::Indirect:
source_address = address<model, Source::Indirect, uint16_t>(instruction, pointer, registers, memory);

View File

@ -299,13 +299,12 @@ struct FailedExecution {
- (NSArray<NSString *> *)testFiles {
NSString *path = [NSString stringWithUTF8String:TestSuiteHome];
NSSet *allowList = [NSSet setWithArray:@[
@"27.json.gz",
@"2F.json.gz",
@"AB.json.gz",
@"D4.json.gz",
@"EA.json.gz",
@"F6.7.json.gz",
@"F7.7.json.gz",
@"27.json.gz", // DAA
@"2F.json.gz", // DAS
@"AB.json.gz", // STOS[w]
@"D4.json.gz", // AAM
@"F6.7.json.gz", // IDIV
@"F7.7.json.gz", // IDIV
]];
NSSet *ignoreList = nil;