Menu

#2875 The result of io port read is discarded.

closed-fixed
None
Z80
5
2019-02-13
2019-02-12
No

Hi
The attached code for Z80 is not compiled correctly. The first result of two successive io port reads is discarded. The io ports are not treated as volatile (also when volatile keyword is put before the sfr declaration).

SDCC : z80/ez80_z80 3.8.6 #10937 (Linux)
Thank You

2 Attachments

Discussion

  • Philipp Klaus Krause

    • status: open --> closed-fixed
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    Fixed in [r10960].

    Philipp

     

Log in to post a comment.