Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Sep 4, 2024
1 parent ae15a7d commit 2e0b235
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions lib/vxt/exec.inl
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,15 @@ static void push_cs(CONSTSP(cpu) p, INST(inst)) {
}

static void extended_F(CONSTSP(cpu) p, INST(inst)) {
UNUSED(p); UNUSED(inst);
//p->regs.cs = pop(p);
//p->inst_queue_dirty = true;

// 286 extended instruction
//p->invalid = true;
UNUSED(inst);
#ifdef TESTING
// 8086 - pop cs
p->regs.cs = pop(p);
p->inst_queue_dirty = true;
#else
UNUSED(p);
// 286 extended instruction
#endif
}

static void or_8(CONSTSP(cpu) p, INST(inst)) {
Expand Down

0 comments on commit 2e0b235

Please sign in to comment.