当前位置:网站首页>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
边栏推荐
猜你喜欢

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

Important arrangements - the follow-up live broadcast of dx12 engine development course will be held at station B

LeetCode 热题 HOT 100 -> 2.两数相加

「冒死上传」Proe/Creo产品结构设计-止口与扣位

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

The level "trap" of test / development programmers is not a measure of one-dimensional ability

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

Promise from introduction to mastery (Chapter 2 understanding and use of promise)

【ROS进阶篇】第九讲 基于Rviz和Arbotix控制的机器人模型运动

ArcGIS: loading historical remote sensing images
随机推荐
Deep Residual Learning for Image Recognition浅读与实现
Sqlserver problem solving: replication components are not installed on this server. Please run SQL Server Setup again and select the option to install replication components
Wechat campus bathroom reservation applet graduation design finished product (3) background function
剑指offer专项突击版第12天
Product interpretation - Design and distributed expansion of metersphere UI test module
数字赋能 创新未来:海丝埃睿迪亮相第五届数字中国建设峰会
这个操作可能不值钱,但却值得学习 | 【图片批量裁剪】
[hcip] BGP Foundation
LeetCode 热题 HOT 100 -> 1.两数之和
Promise from introduction to mastery (Chapter 1 Introduction and basic use of promise)
OBS keyboard plug-in custom DIY
Red hat official announced the new president and CEO! Paul Cormier, a key figure in transformation, is "retiring"
Please, don't use the command line to configure MySQL master-slave replication. Isn't it fragrant to deploy with urlos interface?
[advanced ROS] Lecture 9 robot model motion based on rviz and arbotix control
Use of Day6 functions and modules
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'
上课笔记(5)(1)——#593. 二分查找(binary)
软工必备知识点
LeetCode 热题 HOT 100 -> 3. 无重复字符的最长子串
【HCIP】BGP 基础