Is dual dptr implementation for ds390 any good? Whould it be much work to separate dual pointer functionality from ds390?

In the end, writing memcpy in asm with dual dptr will the the right way to go probably.

Maarten Brock wrote:
Sorry, this is currently not possible.

  
Hi,

Is is possible to enable dual dptr support without selecting -mds390?

The chip is cc2430 and has:
DPH0 (0x83) – Data Pointer 0 High Byte
DPL0 (0x82) – Data Pointer 0 Low Byte
DPH1 (0x85) – Data Pointer 1 High Byte
DPL1 (0x84) – Data Pointer 1 Low Byte

DPS (0x92) – Data Pointer Select
 where bit 0 switches between DPTR0 and DPTR1

Cheers,
Peter
    


------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user
  


-- 
http://www.pkuhar.com
skype:pkuhar
------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to