#2018 GETBYTE, GETWORD untested

closed-fixed
other
4
2016-04-30
2012-05-05
No

Some ports, such as hc08 support GETBYTE or GETWORD. However the regression tests do not test this functionality (grep getByte support/regression/gen/hc08/*/*.asm doesn't find anything, same for GetWord).
There should be regression tests for this functionality, to warn us in case GETBYTE or GETWORD get completly broken.

Philipp

Discussion

  • Maarten Brock

    Maarten Brock - 2012-05-05

    For mcs51-small genGetByte is found in bug1921073.asm and bug1839277.asm. But both are mcs51-only tests for testing the generic pointer type indicator.
    And genGetWord is not found. So yes, some test cases are welcome.

     
  • Philipp Klaus Krause

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

    In current SDCC, the getbyte regression test tests these on hc08.

    Philipp

     

Log in to post a comment.