Mechanism for on-the-fly handling of unaligned memory accesses
AssigneeAdtran, Inc.
InventorPhillip Stone Herron
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdtran, Inc.
InventorPhillip Stone Herron
Estimating the term…
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.
For use with a data processing system, wherein an access to memory must conform with prescribed memory boundary conditions, a method of handling an instruction which contains a memory access code that does not conform with said prescribed memory boundary conditions, comprising the steps of:
For use with a data processing system, wherein an access to memory must conform with prescribed memory boundary conditions, a method of handling an exception generated as a result of encountering an instruction containing an unaligned memory access code, that does not conform with said prescribed memory boundary conditions, said method comprising the steps of:
For use with a communication control processor of a data communication system, wherein digital data transported over a communication link is stored and read out of memory, and wherein access to said memory by said communication control processor must conform with prescribed memory boundary conditions, a method of handling an unaligned address exception generated as a result of encountering an instruction containing an unaligned memory access code, that does not conform with said prescribed memory boundary conditions, said method comprising the steps of:
Dependencies are inferred from the claim text.