当前位置:网站首页>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
边栏推荐
- Ceresdao: new endorsement of ventures Dao
- The cooperation between starfish OS and metabell is just the beginning
- 【HCIP】BGP 基础
- Use of Day6 functions and modules
- [advanced ROS chapter] Lecture 10 gadf integrated simulation process and examples based on gazebo
- MySQL pymysql operation
- Deep understanding of recursion
- How MySQL uses indexes (glory Collection Edition)
- CeresDAO:Ventures DAO的“新代言”
- Achievements in science and Technology (XXVIII)
猜你喜欢

Deep Residual Learning for Image Recognition浅读与实现

作业7.27 IO进程

Product axure9 English version, using repeater repeater repeater to realize multi-choice and single choice

How MySQL uses indexes (glory Collection Edition)

支付宝小程序授权/获取用户信息

【HCIP】路由策略、策略路由

MySQL explain (glory Collection Edition)

regular expression

【软件测试】—— 自动化测试之unittest框架

Promise from introduction to mastery (Chapter 2 understanding and use of promise)
随机推荐
[in depth study of 4g/5g/6g topic -42]: urllc-14 - in depth interpretation of 3GPP urllc related protocols, specifications and technical principles -8-low delay technology-2-slot based scheduling and
Skywalking distributed system application performance monitoring tool - medium
feign调用get和post记录
Network must know topics
[Yugong series] July 2022 go teaching course 019 - for circular structure
Understand the "next big trend" in the encryption industry - ventures Dao
1313_pyserial的安装以及文档的生成
OBS键盘插件自定义diy
并发编程的三大核心问题(荣耀典藏版)
cn+dt
Product axure9 English version, using repeater repeater repeater to realize multi-choice and single choice
cn+dt
Deep Residual Learning for Image Recognition浅读与实现
组原必备知识点
11 Django basics database operation
CeresDAO:Ventures DAO的“新代言”
Manual installation of Dlib Library
MySQL explain (glory Collection Edition)
Promise from introduction to mastery (Chapter 4 async and await)
"The faster the code is written, the slower the program runs"