[cc65] bug report

From: Chris Cureau <cmcureau1gmail.com>
Date: 2012-02-04 19:00:10
Found a issue while assembling some short code this morning...


PRIMM = $fa17

; start code
jsr PRIMM
.byte "I AM *ALIVE!*",$00
loop: jmp loop

This code generated:

(C:$103b) d 1000
.C:1000   20 17 FA   JSR $FA17
.C:1003   49 20      EOR #$20
.C:1005   41 4D      EOR ($4D,X)
.C:1007   20 2A 41   JSR $412A
.C:100a   4C 49 56   JMP $5649
.C:100d   45 21      EOR $21
.C:100f   2A         ROL A
.C:1010   00         BRK
.C:1011   4C 12 10   JMP $1012

Should have been a JMP $1011, right? :)

Cheers,
Chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Feb 4 19:00:20 2012

This archive was generated by hypermail 2.1.8 : 2012-02-04 19:00:24 CET