Wrong line numbers in description for "Hardware Interrupt Mode 2"
ttahsin-bey opened this issue · 1 comments
ttahsin-bey commented
Line numbers of the first code listing box in the chapter "Hardware Interrupt Mode 2" are not matching the following description of this code.
E.g. Description states "Lines 8-12 are the same ..." where there are only 11 lines of code in total and lines 7-11 are actually meant.
This happens at three points:
- "Line 3 is where ...",
- "Lines 4-6 enable or ..." and
- "Lines 8-12 are the same ...".
Either insert an additional line in the code listing box (a label or comment on top of the "DI"-line will do) or decrement all values by 1.
tomaz commented
Looks like I was tweaking the code and then forgot to update lines in text... Thanks for pointing it out!