mirror of
https://github.com/Michaelangel007/apple2_hgr_font_tutorial.git
synced 2024-11-22 03:30:50 +00:00
Fixup missed SBC #1C
This commit is contained in:
parent
2d1ca64b92
commit
1f21fc4d55
@ -1973,8 +1973,8 @@ But we'll save a byte and use the normal subtraction instead:
|
||||
|
||||
```assembly
|
||||
LDA HgrHiY, Y ; Y is row
|
||||
CLC ; Convert HgrHiY to TextHiY byte
|
||||
SBC #$1B ; A -= 0x1C
|
||||
SEC ; Convert HgrHiY to TextHiY byte
|
||||
SBC #$1C ; A -= 0x1C
|
||||
```
|
||||
|
||||
If we care about absolute speed we could see which one takes the fewer clock cycles.
|
||||
|
Loading…
Reference in New Issue
Block a user