当前位置:网站首页>Canonical Address
Canonical Address
2022-07-28 01:22:00 【ma_de_hao_mei_le】
友链
在64位操作系统中,虚拟地址宽度为64bits,但是大多数的处理器都不支持64位宽的虚拟地址空间
当前的Intel/AMD处理器只使用48bits来表示虚拟地址空间
所有的虚拟地址必须是Canonical Address
那么什么样的地址才是Canonical Address呢?
Intel开发者手册是这么写的
这里bits 63指的是最高位
0xfffff801c9c11000的二进制形式为
11111111 11111111 11111000 00000001 11001001 11000001 00010000 00000000
那么最前面这16个1就是bits 63-48
其实是做了一个符号扩充操作
因为一共只用了48bit,那么bits47就是最高有效位了,48-63是没有用的,如果把最高有效位看做符号位,那么48-63就是符号扩充
因为48-63全是1,而最好有效位,也就是bits47也是1
这样的就是Canonical Address
0xffff080000000000的二进制形式:
11111111 11111111 00001000 00000000 00000000 00000000 00000000 00000000
这里48-63和47不一致,不符合符号扩充的规则,因此不是Canonical Address
边栏推荐
- [Star Project] small hat aircraft War (VI)
- LeetCode 热题 HOT 100 -> 1.两数之和
- Understand the "next big trend" in the encryption industry - ventures Dao
- 11 Django basics database operation
- Today in history: the father of database passed away; Apple buys cups code; IBM chip Alliance
- Three core issues of concurrent programming (glory Collection Edition)
- Go learning 01
- MySQL锁系列之锁算法详解(荣耀典藏版)
- QT implementation disable shortcut key
- Alipay applet authorization / obtaining user information
猜你喜欢

使用BigDecimal类型应该避免哪些问题?(荣耀典藏版)

QGIS mapping: vector data mapping process and export

借助Elephant Swap打造的ePLATO,背后的高溢价解析

Compile and use Qwt in qt|vs2017

小程序毕设作品之微信校园浴室预约小程序毕业设计成品(2)小程序功能

LeetCode 热题 HOT 100 -> 3. 无重复字符的最长子串

Plato Farm在Elephant Swap上铸造的ePLATO是什么?

Understand the "next big trend" in the encryption industry - ventures Dao

分层图解决的一些最短路问题

Under the new retail format, retail e-commerce RPA helps reshape growth
随机推荐
Day6 函数和模块的使用
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(2)小程序功能
Soft test - database (2) relational model
"The faster the code is written, the slower the program runs"
CeresDAO:全球首个基于DAO赋能Web3.0的去中心化数字资产管理协议
Achievements in science and Technology (XXVIII)
Leetcode hot topic Hot 100 - > 3. longest substring without repeated characters
[Star Project] small hat aircraft War (V)
Explore flex basis
Deep Residual Learning for Image Recognition浅读与实现
Manual installation of Dlib Library
what‘s the meaning of “rc“ in release name
Wechat campus maintenance and repair applet graduation design finished product of applet completion work (4) opening report
LeetCode 热题 HOT 100 -> 2.两数相加
数字赋能 创新未来:海丝埃睿迪亮相第五届数字中国建设峰会
Clear the cause of floating and six methods (solve the problem that floating affects the parent element and the global)
Wechat campus bathroom reservation applet graduation design finished product (3) background function
Learn this trick and never be afraid to let the code collapse by mistake
Digital empowerment and innovation in the future: hese eredi appears at the 5th Digital China Construction Summit
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'