Skip to content

Commit

Permalink
Remove unnecessary function declaration
Browse files Browse the repository at this point in the history
void adress_accumulato() (sic) was declared but unused. Addressing
the accumulator is just another form of "implicit addressing" and ASL,
LSR, ROL, and ROR, are the only instructions using ACC adressing, and
they don't have implicit addressing variants.

Solves #1
  • Loading branch information
JuantAldea committed Dec 21, 2023
1 parent dba1e80 commit ee057f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ class CPU
void addressing_indirect_indexed();

void addressing_implicit();
void address_accumulator();
void addressing_immediate();
void addressing_zero_page();
void addressing_absolute();
Expand Down

0 comments on commit ee057f8

Please sign in to comment.