 | Discussion Forum |  |
|
|
Use of "Use multiple DPTR registers"Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Enquiry Hmm Posted 24-Feb-2010 12:26 GMT Toolset C51 |  Use of "Use multiple DPTR registers" Enquiry Hmm When we check "Use multiple DPTR registers" option in Keil uVision... Do we inform the compiler that our device support multiple DPTR so that it can use this to optimize code... or do we inform the compiler that our assembly code uses multiple DPTRs so it has to push and pop all the DPTR values to stack while jumping for code execution (i.e. ISR and stuff).... | | Read-Only Author Andrew Neil Posted 24-Feb-2010 13:09 GMT Toolset C51 |  RE: Use of "Use multiple DPTR registers" Andrew Neil See http://www.keil.com/support/man/docs/c51/c51_moda2.htm or whichever is appropriate to the particular derivative that you are using. Note that only the very limited set of library functions takes any advantages of this but, as you say, the overhead on ISRs is always there... | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|