当前位置:网站首页>Understand the key points of complement
Understand the key points of complement
2022-04-23 10:48:00 【A dazed caddie】
What is the complement ?
effect
simplify CPU Arithmetic , It is convenient to use adder inside the computer (ALU) Realize the calculation of negative numbers . Store... In a register in the form of a complement
Representation
The complement of a positive number is itself ;
A negative complement : Add... On the basis of its inverse code 1
Value range :-127~127 Corresponding (0x80~0x7f)
give an example :
-1-2 =(-1)+(-2)= (0X11111111) repair +(0X11111110) repair = (0X11111101 ) repair = (0X11111100) back = (0X10000011) primary = -3
版权声明
本文为[A dazed caddie]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230618291131.html
边栏推荐
- 【省选联考 2022 D2T1】卡牌(状态压缩 DP,FWT卷积)
- Introduction to wechat applet, development history, advantages of applet, application account, development tools, initial knowledge of wxml file and wxss file
- 202. Happy number
- 209、长度最小的子数组(数组)
- 349. Intersection of two arrays
- 精彩回顾 | DEEPNOVA x Iceberg Meetup Online《基于Iceberg打造实时数据湖》
- Full stack cross compilation x86 completion process experience sharing
- What if Jerry's function to locate the corresponding address is not accurate sometimes? [chapter]
- 【leetcode】199.二叉树的右视图
- Six practices of Windows operating system security attack and defense
猜你喜欢
Charles function introduction and use tutorial
C language - custom type
Jinglianwen technology - professional data annotation company and intelligent data annotation platform
Deploy jar package
Sim Api User Guide(6)
MapReduce core and foundation demo
Yarn core parameter configuration
Jerry's more accurate determination of abnormal address [chapter]
Arm debugging (1): two methods to redirect printf to serial port in keil
微信小程序简介、发展史、小程序的优点、申请账号、开发工具、初识wxml文件和wxss文件
随机推荐
Sim Api User Guide(5)
242、有效字母异位词(哈希表)
部署jar包
Contact between domain name and IP address
Qinglong panel pull library command update [April 20, 2022] collection is not lost
Yarn core parameter configuration
206、反转链表(链表)
Initial exploration of NVIDIA's latest 3D reconstruction technology instant NGP
Learning notes 7-depth neural network optimization
全栈交叉编译X86完成过程经验分享
Sim Api User Guide(4)
JVM - common parameters
App. In wechat applet JS files, components, APIs
Jerry's factors that usually affect CPU performance test results are: [article]
MapReduce compression
CentOS/Linux安装MySQL
使用zerotier让异地设备组局域网
[provincial election joint examination 2022 d2t1] card (state compression DP, FWT convolution)
997、有序数组的平方(数组)
中职网络安全2022国赛之CVE-2019-0708漏洞利用