首页> 中文期刊> 《忻州师范学院学报》 >51单片机中AJMP指令跳转范围分析

51单片机中AJMP指令跳转范围分析

         

摘要

文章从实际问题出发,按照发现问题、分析问题、解决问题、总结问题的思路,分析了51单片机指令系统中AJMP转移指令的跳转范围,为解决问题提供了理论依据,并修改代码使程序运行正常,达到了预期效果。而后引入了分页存储的思想对讨论结果加以总结,明晰了AJMP指令地址加2后必须与目标地址处于同一2kB页面内的关系,为设计人员使用该指令时提供了有效地保证,可以避免许多不应有的错误出现,同时对于该指令的理解也会更为深刻。%This paper analyze AJMP instruction jumping scope in 51 MCU from the real problems,according to the idea of discovering,analyzing and solving,and summarizing problem,its aim is providing a theoretical basis for solving the problem.To achieve the desired effect,the program is modified till it run normally.To sum up the outcome of discussion,it introduces the idea of page memory.This paper points out the relationship that AJMP instruction address plus 2 and target address must stay in the same 2KB page that provides an effective guarantee for designers to use the instruction,avoiding making errors and that makes the instruction's understand more profound.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号