i think this should speak for itself, it's level ASM and this is apparently why it keeps crashing, any clue as to why this happens?
Benny Harvey RIP, miss you big man.
LDA.b #$0010 ; -> LDA #$10 STA.w $7E0100 ; -> STA $0100 REP #$20 LDA.w #$80 ; -> LDA #$0080 STA.b $FF80 ; -> STA $80