8051 Related Memory

1.       Program Memory: in the classic 8051 this is a 64KB spacethat is called CODE.This region is typically a ROM space that is used for program code and constants.With the BL51 you may expand the physical program code memory to 32 code bankswith 64KB each. Constants are fetched with the MOVC instruction. In extended8051 variants and the 251 you may have program memory of up to 16MB that iscalledECODEand HCONST.

2.       Internal Data Memory:in the classic 8051 this is the on-chip RAMspace with a maximum of 256 Bytes that contains register banks, BIT space,direct addressableDATA space, and indirect addressableIDATAspace. This region should be used for frequently used variables. In the 80C51MXand the 251 this space is expanded to up to 64KB with anEDATA space.

3.       External Data Memory:in classic 8051 devices this area, calledXDATA,is off-chip RAM with a space of up to 64KB. However several new 8051 devices haveadditional on-chip RAM that is mapped into the XDATA space. Usually you need toenable this additional on-chip RAM via dedicated SFR registers. In extendedvariants and the 251 you may have external data memory of up to 16MB that iscalledHDATA.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值