Skip to content
  1. Jan 09, 2016
  2. Jan 08, 2016
  3. Jan 07, 2016
  4. Jan 06, 2016
  5. Jan 05, 2016
  6. Jan 04, 2016
  7. Jan 01, 2016
  8. Dec 30, 2015
  9. Dec 29, 2015
  10. Dec 28, 2015
  11. Dec 27, 2015
    • Dimitry Kloper's avatar
      Change notation of PCH and PCL registers into PC0 and PC1 · 41bdcd16
      Dimitry Kloper authored
      This is for forthcoming Atmega2560 support. The Atmega2560 has 24-bit PC
      thus, PCH and PCL would become PCH, PCM and PCL (M for Middle). The problem
      that in this notation PCM is equivalent to former PCH. This makes compatable
      porting kind of difficult, at least for my taste.
      
      Instead PCH becomes PC0 and PCL becomes PC1 (think of the index as order of
      bytes pushed to stack when call is performed, PC0 as MSB goes first, PC1
      goes to stack second, and for 24-bit PC, PC2 as LDB goes last).
      41bdcd16