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

How to set system stack other than 0xFC00?

Hi,
All the SP, STKOV, and STKUV's highest 4 bits are masked to '1'. Does that mean those registers have to be 0xFxxx only? May I change the system stack to somewhere else, say 0xc200?

Thanks a lot.

Parents
  • I downloaded the XC161 User Manual V2.1 from Infineon's web site. It does show the SP, STKOV, and STKUN as having their 4 most significant bits tied to '1'. It doesn't make any sense unless it's a typo. I have version 1.1 of that document, and it doesn't have this typo. I can only assume that the author of the XC161 manual used portions of the C16x family manual when compiling the document and missed that particular point.
    Reporting this typo to mcdocu.comments@infineon.com would be a good idea.

    - mike

Reply
  • I downloaded the XC161 User Manual V2.1 from Infineon's web site. It does show the SP, STKOV, and STKUN as having their 4 most significant bits tied to '1'. It doesn't make any sense unless it's a typo. I have version 1.1 of that document, and it doesn't have this typo. I can only assume that the author of the XC161 manual used portions of the C16x family manual when compiling the document and missed that particular point.
    Reporting this typo to mcdocu.comments@infineon.com would be a good idea.

    - mike

Children