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

To access more than 64K of code in 8051

Hello,

I am working on a project using the 8051. I am almost on my completion of the project. But my code size has cross the 64k limit. I have heard that by using paging technique it is possible to access more than 64K code.

But i have no idea how to implement paging in 8051.Can any one help me for the same.

Thanks in anticipation.

Viral.

Parents
  • "Next, get rid of the printf or scanf if you use them. Use puts and do you own formatting."

    Of course, all generalisations are bad! ;-)

    A single printf can cause quite a large hit on code size (it can use up most of the 2K size limit of the free eval version), but if you do a lot of formatting throughout a large application it becomes a lot less significant.

    You might want to search this forum for Graham Cole's user_printf, which was a streamlined version without the more esoteric formatting options.

Reply
  • "Next, get rid of the printf or scanf if you use them. Use puts and do you own formatting."

    Of course, all generalisations are bad! ;-)

    A single printf can cause quite a large hit on code size (it can use up most of the 2K size limit of the free eval version), but if you do a lot of formatting throughout a large application it becomes a lot less significant.

    You might want to search this forum for Graham Cole's user_printf, which was a streamlined version without the more esoteric formatting options.

Children