using 2 DPTRs with C51 v3.20

I'm using quite old version of C51, v3.20.

Is there a way to tell the compiler to use the second DPTR of Atmel 89C55WD also?

Parents
  • I doubt it!
    I seem to remember that multiple-DPTR support was noted as a "New Feature" in v6?
    And it took several increments before the debugger supported it properly!

    Even then, C51 v6.x only uses the extra DPTR(s) in a very few library functions.

    Usually, use of the extra DPTR(s) is controlled via a register somewhere - so you might be able to do it "manually?"
    See the datasheet.

Reply
  • I doubt it!
    I seem to remember that multiple-DPTR support was noted as a "New Feature" in v6?
    And it took several increments before the debugger supported it properly!

    Even then, C51 v6.x only uses the extra DPTR(s) in a very few library functions.

    Usually, use of the extra DPTR(s) is controlled via a register somewhere - so you might be able to do it "manually?"
    See the datasheet.

Children
More questions in this forum