中国科技核心期刊

中文核心期刊

CSCD来源期刊

空间控制技术与应用

• 短文 • 上一篇    下一篇

BANK编译模式在扩大单片机程序存储空间中的应用研究

党 蓉,于 丹,姜沫岐   

  1. 北京控制工程研究所,北京 100190
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-08-26 发布日期:2009-08-26

Application of BANK Compile Mode in Extending Single Chip Computer Code Space

DANG Rong, YU Dan, JIANG Moqi   

  1. Beijing Institute of Control Engineering, Beijing 100190, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-08-26 Published:2009-08-26

摘要: 利用C51编译器的BANK编译模式解决MCS-51系列单片机程序存储空间受64KB限制的问题,分析Keil C51编译器在BANK编译模式下的切换过程,提供一种软硬件的设计方法,并对设计的正确性进行了验证,从而解决了航天器设备典型单片机只能提供16B地址线对程序代码寻址的问题。

关键词: 单片机 程序存储空间 C51编译器 BANK编译模式

Abstract: Analyzing the switching process of Keil C51 in BANK compile mode, this paper proposes a method using a BANK switching technique to solve the problem that only 64K bytes of code space can be accessed in a single-chip computer. On the basis of this analysis this paper presents and validates a design method on software and hardware, thus solving the problem that the typic 8051 only provides 16 address lines for addressing code space in spacecraft equipments.

Key words: single-chip computer; code space; C51 complier; BANK switch

中图分类号: 

  • TP3