发明授权
- 专利标题: Multiple segment register use with different operand size
- 专利标题(中): 多段寄存器使用不同的操作数大小
-
申请号: US779791申请日: 1997-01-07
-
公开(公告)号: US6049897A公开(公告)日: 2000-04-11
- 发明人: Nazar A. Zaidi , Kenneth D. Shoemaker , Gary N. Hammond
- 申请人: Nazar A. Zaidi , Kenneth D. Shoemaker , Gary N. Hammond
- 申请人地址: CA Santa Clara
- 专利权人: Intel Corporation
- 当前专利权人: Intel Corporation
- 当前专利权人地址: CA Santa Clara
- 主分类号: G06F12/14
- IPC分类号: G06F12/14 ; G06F11/16
摘要:
A new method and apparatus are used to check for segment limit violations during memory access. When a segment descriptor is retrieved during the initialization of a segment, the segment limit from the segment descriptor is used to create five limits. The five limits are the last possible address within the segment for each size of memory access. During a subsequent memory access, the limit corresponding to the segment being accessed and the length of memory access is selected. The selected limit is compared against the address of the memory access to determine if a limit violation has occurred. If a limit violation has occurred, a flag is set that, when read, will cause an exception.