51单片机存储器

51单片机存储空间一览:

Program Memory

Program (CODE) memory is read only; it cannot be written to. Program memory may reside within the 8051 MCU, it may be external, or it may be both, depending upon the 8051 derivative and the hardware design.

  • The 8051 architecture supports up to 64K Bytes of program memory. However, program space can be expanded using code banking.
  • Some devices offer a larger code space.
  • Program code, including all functions and library routines, is stored in program memory.
  • Constant variables may also be stored in program memory.
  • The 8051 executes programs stored in program memory only.
  • Program memory may be accessed from your C programs using the code memory type specifier.

程序存储器

代码空间是只读空间; 它不能被写入修改. 代码存储可能存放于8051微处理器的内部或者外部,也有可能两者都有,这要根据8051具体设计架构以及其硬件设计来决定。

  • 8051架构支持高达64K字节的程序存储器空间。然而,程序存储器可以通过使用代码块的方式扩展。
  • 一些设备会提供更大的程序存储器空间
  • 程序代码(包括所有函数和库例程)存储在程序存储器中。
  • 常量存储在程序存储器中
  • 8051仅执行存储在程序存储器中的程序。
  • 程序存储器可以使用代码存储器类型说明符C程序进行访问。

Internal Data Memory

Internal data memory resides within the 8051 MCU and is read/write. Up to 256 bytes of internal data memory are available depending upon the 8051 derivative. The first 128 bytes of internal data memory are both directly and indirectly addressable. The upper 128 b

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值