SWTP6800: Fix typo in the DAA instruction
This commit is contained in:
parent
661c1059a6
commit
1513d6ee66
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ t_stat sim_instr (void)
|
||||||
}
|
}
|
||||||
DAR = (A >> 4) & 0x0F;
|
DAR = (A >> 4) & 0x0F;
|
||||||
if ((DAR > 9) || get_flag(CF)) {
|
if ((DAR > 9) || get_flag(CF)) {
|
||||||
DAR =+ 6;
|
DAR += 6;
|
||||||
A = (A & 0x0F) | (DAR << 4) | 0x100;
|
A = (A & 0x0F) | (DAR << 4) | 0x100;
|
||||||
}
|
}
|
||||||
COND_SET_FLAG_C(A);
|
COND_SET_FLAG_C(A);
|
||||||
|
|
Loading…
Add table
Reference in a new issue