mirror of
https://github.com/bradgrantham/apple2a.git
synced 2025-01-02 22:33:20 +00:00
Fix NEXT statement some more. (#3)
This commit is contained in:
parent
00922326e7
commit
d041ebd995
4
main.c
4
main.c
@ -1270,8 +1270,8 @@ static void compile_buffer(uint8_t *buffer, uint16_t line_number) {
|
|||||||
c[7] = 3; // Skip over indirect jump.
|
c[7] = 3; // Skip over indirect jump.
|
||||||
// Jump to top of loop, indirectly through ptr1, which has the address.
|
// Jump to top of loop, indirectly through ptr1, which has the address.
|
||||||
c[8] = I_JMP_IND;
|
c[8] = I_JMP_IND;
|
||||||
c[9] = (uint8_t) &ptr1 & 0xFF;
|
c[9] = (uint8_t) (&ptr1 & 0xFF);
|
||||||
c[10] = (uint8_t) &ptr1 >> 8;
|
c[10] = (uint8_t) (&ptr1 >> 8);
|
||||||
g_c = c + 11;
|
g_c = c + 11;
|
||||||
} else if (*s == T_DIM) {
|
} else if (*s == T_DIM) {
|
||||||
s += 1;
|
s += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user