x86 - "unscrambled"在这种情况下是什么意思?

标签 x86 x86-64 intel

有没有人可以告诉我什么词 “解密”意味着从本手册?

http://www.intel.com/Assets/ja_JP/PDF/manual/253668.pdf

根据英特尔手册,第 5.10.3 节,解释了 LSL 指令:

Ff the privilege level and type checks pass, loads the unscrambled limit (the limit scaled according to the setting of the G flag in the segment descriptor) into the destination register and sets the ZF flag in the EFLAGS register. If the segment selector is not visible at the current privilege level or is an invalid type for the LSL instruction, the instruction does not modify the destination register and clears the ZF flag.

最佳答案

根据 G 标志,限制以不同的方式解释。
从手册:

When the G flag is clear (byte granularity), the effective limit is the value
of the 20-bit limit field in the segment descriptor. Here, the limit ranges 
from 0 to FFFFFH (1 MByte). When the G flag is set (4-KByte page granularity), 
the processor scales the value in the limit field by a factor of 212 (4 KBytes). 
In this case, the effective limit ranges from FFFH (4 KBytes) to FFFFFFFFH 
(4 GBytes).

关于x86 - "unscrambled"在这种情况下是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22005051/

相关文章:

c - RDTSC 和系统调用、sys_read 和 sys_write

c++ - 为什么在这个解散的 std::string dtor 中有一个锁定的 xadd 指令?

performance - AVX mat4 inv 实现比 SSE 慢

x86 - 段描述符中 AVL 位的用途是什么?

x86 - Spectre (v2) 的内部工作原理

c - 了解汇编中的 C 程序

64-bit - 开发PC : AMD vs Intel and 32-bit vs 64-bit

gpu - OpenVINO 可以支持(和使用)Nvidia GPU 吗?

在 C 中将 32 位应用程序转换为 64 位应用程序

c - 在 x64 处理器上字对齐加载是否比非对齐加载更快?