Re: ROM Bootloader Issues
- joshbensadon <no_reply@...> wrote:
>Kyle, I'm not a 6800 programmer, mostly I'm an 8080 programmer. But why use "push" instructions rather than "move" and "increment" instructions, which may have more explicit effects? If this bit of code is not understandable - it doesn't do what you expect - then rewrite it with more understandable 6800 instructions. That's some general advice, rather than specific debugging suggestions which I can't provide short of my looking up the effects of each instruction in your program.
> Kyle, come to think of it, I think there's a CPX instruction to compare X with immediate, so you can affect the flags.
> > Kyle, oh, I don't think DEX affects the flags...