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

upper 128byte of 89S52

How to use upper 128byte of AT89S52.
i.e.
SFRs(80H to FFH)
Address indirectly with KEIL C51 for general purpose which are not in use.
They are directly addressable only as SFR.

according to datasheet:
1. The lower 128 bytes of RAM (00H to 7FH) are directly and indirectly addressable.
2. The higher 128 bytes of RAM (80H to FFH) are indirectly addressable.
3. The special function registers (80H to FFH) are directly addressable only.

Please help me thanks!

Parents
  • "I repeat the is C you do not use unallocated memory."

    Eh???

    If you are Grabbing a pointer to "Unused memory" you are not asking about it here.

    Eh???

    As far as I can recall, I was not passing comment on the (lack of) allocation!

    What I was trying to highlight was that a pointer to idata IS an alternative way of accessing the memory.

    "Jumping out of a plane (with a chute) is alternative to waiting for it to land. It is not the same."

    Ah - So you agree then?!

Reply
  • "I repeat the is C you do not use unallocated memory."

    Eh???

    If you are Grabbing a pointer to "Unused memory" you are not asking about it here.

    Eh???

    As far as I can recall, I was not passing comment on the (lack of) allocation!

    What I was trying to highlight was that a pointer to idata IS an alternative way of accessing the memory.

    "Jumping out of a plane (with a chute) is alternative to waiting for it to land. It is not the same."

    Ah - So you agree then?!

Children
No data