当前位置:网站首页>Canonical Address
Canonical Address
2022-07-28 02:37:00 【ma_ de_ hao_ mei_ le】
Friend chain
stay 64 Bit operating system , The virtual address width is 64bits, But most processors don't support 64 Bit wide virtual address space
Current Intel/AMD The processor only uses 48bits To represent the virtual address space
All virtual addresses must be Canonical Address
So what kind of address is Canonical Address Well ?
Intel This is what the developer manual says 
here bits 63 It refers to the highest position
0xfffff801c9c11000 The binary form of is
11111111 11111111 11111000 00000001 11001001 11000001 00010000 00000000
So the front one 16 individual 1 Namely bits 63-48
Actually, I made a Symbol expansion operation
Because only 48bit, that bits47 It's the most significant bit ,48-63 It's no use , If the most significant bit is regarded as a sign bit , that 48-63 Is symbolic expansion
because 48-63 Is full of 1, And the best significant bit , That is to say bits47 It's also 1
This is Canonical Address
0xffff080000000000 In binary form :
11111111 11111111 00001000 00000000 00000000 00000000 00000000 00000000
here 48-63 and 47 atypism , Does not conform to the rules of symbolic expansion , So it's not Canonical Address
边栏推荐
猜你喜欢

Wechat campus bathroom reservation applet graduation design finished product (3) background function

Ceresdao: the world's first decentralized digital asset management protocol based on Dao enabled Web3.0

MySQL锁系列之锁算法详解(荣耀典藏版)

第三章 队列

Unity 保存图片到相册以及权限管理

Three core issues of concurrent programming (glory Collection Edition)

Special network technology virtual host PHP version setting

Learn this trick and never be afraid to let the code collapse by mistake

作业7.27 IO进程

智能合约安全——selfdestruct攻击
随机推荐
MYSQL解决死锁之路 - 常见 SQL 语句的加锁分析
POC模拟攻击利器 —— Nuclei入门(一)
unordered_map的hash function及hash bucket存储方式探索
小程序毕设作品之微信校园维修报修小程序毕业设计成品(4)开题报告
「冒死上传」Proe/Creo产品结构设计-止口与扣位
Explore flex basis
正则表达式
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(2)小程序功能
Flask1.1.4 werkzeug1.0.1 source code analysis: Blueprint
0 dynamic programming medium leetcode873. Length of the longest Fibonacci subsequence
新基建助力智能化道路交通领域的转型发展
Necessary knowledge points of the original group
TypeScript(零) —— 简介、环境搭建、第一个实例
1313_pyserial的安装以及文档的生成
一文读懂Plato Farm的ePLATO,以及其高溢价缘由
OBS键盘插件自定义diy
Leetcode hot topic Hot 100 - > 2. Add two numbers
Mysql Explain 详解(荣耀典藏版)
windbg
数字赋能 创新未来:海丝埃睿迪亮相第五届数字中国建设峰会