#76 accumulator bit access

closed
Maarten Brock
None
5
2010-09-29
2010-09-01
sumeet verma
No

when i try to access bit of accumulator register, the compiler gives error(undefined identifier ACC_7), i use mide51, sdcc. pls help.

Discussion

  • Maarten Brock
    Maarten Brock
    2010-09-03

    Then ACC_7 is probably not defined in the header file for your device.

    But why would you need to access ACC_7 from C? The accumulator is heavily used by the code generated by the compiler. It is unlikely it will stay unchanged.

     
  • Maarten Brock
    Maarten Brock
    2010-09-03

    • assigned_to: nobody --> maartenbrock
    • status: open --> pending
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed