- 12
- 0
- 约1.95万字
- 约 30页
- 2017-07-05 发布于河南
- 举报
IBMPC80x86汇编语言程序设计学习笔记(国外英文资料)
IBMPC80x86汇编语言程序设计学习笔记
[original]IBMPC80x86 assembly language programming, learning notes
Article title: [original]IBMPC80x86 assembly language programming learning notes at the top of blood on the ice to seal affection published: 2004-11-2112:27 [landlord [original]IBMPC80x86 assembly language programming learning notes
Article author: ice blood seal [EST]
Source of information: Evil octal PRC (www.EvilO)
(the unfinished)
Chapter 1: basic knowledge
Section 1: hexadecimal conversion
D2B: here we only review the division transformation method, which is valid for D2HOB
117D=1110101B
117/2------1
58/2-------0
29/2-------1
14/2-------0
7/2--------1
3/2--------1
1/2--------1
Turn over and write...
B2D: we use the method of weight expansion here
1110101B=117D
2^6+2^5+2^4+2^2+2^0=64+32+16+4+1=117D
H2BB2H is simple. Its not here
Second section: the representation of numbers and characters in a computer
The complement notation uses the highest significant bit to indicate the symbol 0 and negative 1
Represents the positive number, the highest significant bit is 0, and the remaining digits represent the absolute value of the number
Represents a negative number, 2^n-|x| means
For example, when -1 complements the n=8, the [-1] complement =2^8-1=256-1is used
-127 complement n=8 when the use of [-127] =2^8-127=100000000-1111111 here we can see the highest effective bit is 1, so negative
Be careful:
In the complement notation, 0 has only one representation, that is, andis not -0, but -128, so the range of the 8 bit complement can be expressed as -128 to +127
There is a relatively simple negative number is the complement form first calculate the positive negative complement to the corresponding representation method and then the bitwise reverse at the bottom plus 1 can get the complement negative form
About operations:
The number of positive complement by positive number is called complement operation, the following formula needs to master
[X]
原创力文档

文档评论(0)