Posted By
ericjherd on 2019-03-24 12:54:12
| Re: Assembly - Can't execute my code?
Thank you Doug for the reply, still no luck
*=$4000-2 "HELLO" .word $4000 ldx #0 loop: lda mytext,x jsr $FFD2 inx cpx #11 bne loop brk mytext: .text "HELLO WORLD"
same results as before, with the following via monitor disassembly:
(C:$d90a) d 3ffe .C:3ffe 00 BRK .C:3fff 40 RTI .C:4000 48 PHA .C:4001 45 4C EOR $4C .C:4003 4C 4F 20 JMP $204F .C:4006 57 4F SRE $4F,X .C:4008 52 JAM .C:4009 4C 44 A2 JMP $A244 .C:400c 00 BRK .C:400d BD 00 40 LDA $4000,X .C:4010 20 D2 FF JSR $FFD2 .C:4013 E8 INX .C:4014 E0 0B CPX #$0B .C:4016 D0 F5 BNE $400D .C:4018 00 BRK
I feel like I'm sooo close!
|