mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
Add note on ambiguity to be resolved.
This commit is contained in:
parent
8b3c0abe93
commit
e9c5582fe1
@ -182,7 +182,9 @@ struct Executor {
|
|||||||
registers_.set_pc(pc_proxy);
|
registers_.set_pc(pc_proxy);
|
||||||
}
|
}
|
||||||
if constexpr (flags.set_condition_codes()) {
|
if constexpr (flags.set_condition_codes()) {
|
||||||
if(fields.destination() == 15) {
|
// TODO: different sources have me going back and forth on the second
|
||||||
|
// part of the conditional here.
|
||||||
|
if(fields.destination() == 15 && is_comparison(flags.operation())) {
|
||||||
registers_.set_status(conditions);
|
registers_.set_status(conditions);
|
||||||
} else {
|
} else {
|
||||||
// Set N and Z in a unified way.
|
// Set N and Z in a unified way.
|
||||||
|
Loading…
Reference in New Issue
Block a user