Skip to content

Commit

Permalink
[#6] Add a TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Jun 20, 2021
1 parent b977ab8 commit 21dd6dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions z80.h
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,9 @@ class i8080_executor : public internals::executor_base<B> {
// This function is supposed to take as much work from the
// core code executing instructions as possible, leaving there
// only those operations that can be performed very fast.
// TODO: Provide a way to control CF separately and eliminate
// the f parameter. And then maybe combine flag_op::inc/dec
// with flag_op::adc/sbc.
fast_u8 flags(fast_u8 f, flag_op fop, fast_u8 b, fast_u16 w) {
switch(fop) {
case flag_op::adc:
Expand Down

0 comments on commit 21dd6dd

Please sign in to comment.