Loading ...
Sorry, an error occurred while loading the content.

26130Re: ROM Bootloader Issues

Expand Messages
  • s100doctor
    Jun 9, 2012
      joshbensadon <no_reply@...> wrote:
      > 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...
      > >

      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.

    • Show all 9 messages in this topic