]> git.sur5r.net Git - cc65/blob - libsrc/apple2/wherex.s
fixed optimization bug where array index is 16-bit, e.g. arr16[i & 0x7f7f]
[cc65] / libsrc / apple2 / wherex.s
1 ;
2 ; Kevin Ruland
3 ;
4 ; unsigned char wherex (void);
5 ;
6
7         .export         _wherex
8
9         .include        "apple2.inc"
10
11 _wherex:
12         lda     CH
13         ldx     #$00
14         rts