首页> 外国专利> Mechanism for on-the-fly handling of unaligned memory accesses

Mechanism for on-the-fly handling of unaligned memory accesses

机译:动态处理未对齐的内存访问的机制

摘要

Unaligned accesses to memory are circumvented by an address exception handler mechanism, which decodes an exception-triggering instruction, and reads from or writes to, in a byte-by-byte manner, addressed portions of memory which are unaligned with an addressing scheme through which accesses to memory may be performed, and thereby give rise to unaligned memory access exceptions. The handler simulates the execution of the instruction with reference to an exception stack frame, to which the contents of all registers at the time of the unaligned address exception are saved. This allows the handler to controllably define values that are restored into registers during the processor's execution of a general exception vector. After handling the exception, program execution transitions to the next instruction that directly follows the exception-causing instruction.
机译:地址异常处理程序机制可避免对内存的未对齐访问,该机制将解码触发异常的指令,并按字节逐字节方式读取或写入不符合寻址方案的内存寻址部分,可以执行对存储器的访问,从而引起未对齐的存储器访问异常。处理程序参照异常堆栈帧模拟指令的执行,在该堆栈中保存了未对齐地址异常时所有寄存器的内容。这允许处理程序可控地定义在处理器执行常规异常向量期间将其恢复到寄存器中的值。处理完异常后,程序执行将转换为直接在引起异常的指令之后的下一条指令。

著录项

  • 公开/公告号US2004202030A1

    专利类型

  • 公开/公告日2004-10-14

    原文格式PDF

  • 申请/专利权人 ADTRAN INC.;

    申请/专利号US20030412854

  • 发明设计人 PHILLIP STONE HERRON;

    申请日2003-04-14

  • 分类号G11C7/00;

  • 国家 US

  • 入库时间 2022-08-21 23:22:36

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号