字典翻译 问答 小学 英语 【英语翻译ThesimplestlayoutisaccomplishedbylocatingtheapplicationinROMataddress0inthememorymap.Theapplicationcanthenbranchtotherealentrypointwhenitexecutesitsfirstinstructionattheresetvectorataddress0x0.But,ther】
问题标题:
【英语翻译ThesimplestlayoutisaccomplishedbylocatingtheapplicationinROMataddress0inthememorymap.Theapplicationcanthenbranchtotherealentrypointwhenitexecutesitsfirstinstructionattheresetvectorataddress0x0.But,ther】
问题描述:

英语翻译

ThesimplestlayoutisaccomplishedbylocatingtheapplicationinROMataddress0in

thememorymap.Theapplicationcanthenbranchtotherealentrypointwhenitexecutes

itsfirstinstructionattheresetvectorataddress0x0.But,therearedisadvantages

withthislayout.ROMistypicallynarrow(8or16bits)andslowcomparedtoRAM,

requiringmorewaitstatestoaccessit.Thisslowsdownthehandlingofprocessor

exceptions,especiallyinterrupts,throughthevectortable.Moreover,ifthevectortable

isinROM,itcannotbemodifiedbythecode.

SinceRAMisnormallyfasterandwiderthanROM,itisbetterforthevectortableand

interrupthandlersifthememoryat0x0isRAM.AlthoughItisnecessarythatRAMbe

locatedat0x0duringnormalexecution,ifRAMislocatedataddress0x0onpower-up,

thereisnotavalidinstructionintheresetvectorentry.Therefore,ROMmustbelocated

at0x0atpower-uptoassurethatthereisavalidresetvector.Thechangeoverfrom

resettothenormalmemorymapisnormallyaccomplishedbyperformingtheremap

command.

程臻回答:
  最简单的布局是通过定位在ROM中的应用在地址0内存映射.应用程序可以分支到实际执行时的入口点它的第一条指令在地址0x0复位向量.但是,也有缺点这个布局.ROM是典型的窄(8或16位)和RAM的比较慢,需要更多的等待状态进...
点击显示
英语推荐
热门英语推荐
  • 语文
  • 数学
  • 英语
  • 科学
  • 作文