This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DPPs in Startup.a66

Hello,

I would ask something about startup.a66...
In the example code I have a next statement:

ASSUME DPP3:SYSTEM
ASSUME DPP2:NDATA


MOV DPP0,#?C_PAGEDPP0 ; Init DPP0 (for DPPUSE)// What and how is it exact used for?
MOV DPP1,#?C_PAGEDPP1 ; Init DPP1 (default NCONST)
MOV DPP2,#?C_PAGEDPP2 ; Init DPP2 (default NDATA)

I'm confused that I don't see such statements as
ASSUME DPP0:xxxx
ASSUME DPP2:NCONST

and something like
MOV DPP3,#?C_PAGEDPP3 ; Init DPP3 (default SYSTEM)

And one would expect the same result if
there was not any statements at all(everything is default)?

Could somebody please help me to make this DPPs stuff in a66 file much more clear?

Thank you very much,
with best wishes,
A.

Parents Reply Children
  • Thanks for the reply,

    it's clear what you say,but...
    I try to ask from another side,
    where does my code know from, that accesses to the NCONST area should use the DPP1 register?
    What I have it's only initialization :
    MOV DPP1,#?C_PAGEDPP1 ; Init DPP1

    and there is no any ASSUME for DPP1.
    So, it could be only a default assuming .
    Or?

    Thanks and regards,
    A.