Menu

#2426 A strange inline Z80-assembler bug

closed-rejected
None
Z80
5
2015-10-09
2015-10-09
No

Discussion

  • Philipp Klaus Krause

    I don't see a bug, just a jr with an out-of-range jump target, resulting in an error message from the assembler. An error message, that is technically correct, but not very helpful. jr has jump range -126 to +129, unlike jp, which has a bigger range. When you remove the last bock, the target is in range for jr.

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> closed-rejected
    • assigned_to: Philipp Klaus Krause
     
  • Oleg N. Cher

    Oleg N. Cher - 2015-10-09

    You're absolutely right, Philipp, thank you. Sorry for bother.

     

Log in to post a comment.