mirror of
https://github.com/ggambetta/libz80.git
synced 2025-04-18 18:44:02 +03:00
Fix misc. source comments
Found via `codespell -q 3 -L ba,daa`
This commit is contained in:
parent
0ab69c3101
commit
1751c01b85
2
CHANGES
2
CHANGES
@ -64,7 +64,7 @@ RRD computes correct value and sets flags appropriately
|
||||
RLD computes correct value and sets flags appropriately
|
||||
SRA preserves bit 7
|
||||
Fix RLC m, RRC m, RL m, RR m. They were doing a "rotate immediate," in effect.
|
||||
DEC ss and INC ss increment the proper regster, and preserve flags.
|
||||
DEC ss and INC ss increment the proper register, and preserve flags.
|
||||
ADD IX,rr and ADD IY,rr set the flags propelry
|
||||
SBC HL,pp sets the flags properly
|
||||
ADC HL,pp and ADD HL,pp set the flags properly
|
||||
|
2
z80.c
2
z80.c
@ -47,7 +47,7 @@
|
||||
* For example, ADD and ADC are similar in syntax and operation - the difference is that ADC takes the carry flag
|
||||
* into account.
|
||||
*
|
||||
* So we define a general operation doArithmetic(...) which accepts a boolean parameter specifying wheter to do
|
||||
* So we define a general operation doArithmetic(...) which accepts a boolean parameter specifying whether to do
|
||||
* a Carry-operation or not. Then, when we parse, we can say
|
||||
*
|
||||
* (ADD|ADC) ....
|
||||
|
Loading…
x
Reference in New Issue
Block a user