- 1、本文档共85页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
s12X系列单片机内存页及Xgate介绍要点
* * * * Here we can see the impact of the XGATE’s RISC architecture. It takes about 30% more bytes to implement the same piece of C. Note that since this is a true 16-bit architecture the number of opcodes is half of this number. The XGATE cycle count is shown in true XGATE cycles which execute in half the time of the CPU’s cycles, therefore true time taken is less than half. Note that XGATE cycle execution is increased due to the number of accesses to external peripherals which are slower than RAM access and the large number of byte loads and stores in the assembly code. * * In this case the XGATE suffers from the lack of a divide instruction to speed up the mathematics * * * * * * * -Map:?Define mapping for memory space 0x4000-0x7FFF Group CODE GENERATION Scope Application Syntax -Map(RAM|FLASH|Exernal) Arguments RAM: accesses to 0x4000–0x7FFF will be mapped to 0x0F_C000-0x0F_FFFF in the global memory space (RAM area). FLASH: accesses to 0x4000–0x7FFF will be mapped to 0x7F_4000-0x7F_7FFF in the global memory space (FLASH). External: accesses to 0x4000–0x7FFF will be mapped to 0x14_4000-0x14_7FFF in the global memory space (external access). Default FLASH Defines None Pragmas None Description This option sets the memory mapping for addresses between 0x4000 and 0x7FFF for HCS12XE. This mapping is determined by the? MMC control register (the ROMHM and RAMHM bits)?and the compiler must be aware of the current setting to correctly perform address translations. Example ????? -MapRAM * * * * * * * * * No multiply or divide but of course these are available in the C implementation. * * * * * NOTICE that PAGE E0 is not completely included in the XGATE MAP. Mention that FLASH is ALWAYS fixed at those addresses RAM’s bottom will ALWAYS be mapped to 0xF_FFFF and will grow upwards up to a limit of 32 K. In this case XEP100 has 32K of RAM. Refer to your device’s overview in the datasheet manual. * * Emphasize here that we are now working with two cores and there are CPU
文档评论(0)