#1747 PIC16: post decrement not working?

open
nobody
PIC16
5
2013-07-16
2011-01-18
No

for (val = 16; val > 0; val--) works while
val = 16; while (val-- > 0) immediately exits

compiled with --use-non-free -mpic16 -p18f26j50

Discussion

  • Herbert Pötzl

    Herbert Pötzl - 2011-01-18

    example source code

     
  • Maarten Brock

    Maarten Brock - 2011-09-16
    • summary: post decrement not working? --> PIC16: post decrement not working?
     
  • Philipp Klaus Krause

    • Category: --> PIC16
     

Log in to post a comment.