当前位置:网站首页>Assembly language - Beginner's introduction
Assembly language - Beginner's introduction
2022-07-05 13:43:00 【Sex sex ~ ~】
One 、 Base number
1、 Why do you want to learn
Computers only know binary , That is to say 0 and 1, In order to learn computer better , First of all, we should have a deep understanding of Radix .
2、 Precautions for learning Radix
If you want to learn Radix well, you must first forget the decimal system , Also forget the conversion between base numbers , Because every binary is perfect .
3、 The definition of base
Definition of octal : It consists of eight symbols , Namely 0 1 2 3 4 5 6 7 Every eight enters one. .
The definition of decimal : It consists of eight symbols , Namely 0 1 2 3 4 5 6 7 8 9 Dot into one .
N The definition of base : from N It's a symbol , Meet N Jin Yi .
4、 The writing of decimal system
Eg;
One base (1~6):1 11 111 1111 11111 111111
Binary system (1~8):0000 0001 0010 0011 0101 0110 0111 1000
Ternary (1~12):0 1 2 10 11 12 20 21 22 100 101 102
5、 Base operation
Why do we skillfully calculate the addition, subtraction, multiplication and division of decimal , It's because we recited the multiplication table when we were young , So when we do other binary calculations, we can also recite the relevant operation tables .
eg: octal
Add :

Multiplication :

Two 、 Binary abbreviation
1、 Why do computers use binary
Computers need electricity , The circuit has only two states :1 really ( Electrify )0( No power )
Any file stored in the computer 、 Any instructions received are from 0 and 1 Composed of
2、 The relationship between binary and hexadecimal
Binary system (1~15):0000 0001 0010 0011 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Hexadecimal (1~15):1 2 3 4 5 6 7 8 9 A B C D E F
Binary is too cumbersome , Hexadecimal can be regarded as a short form of binary .
边栏推荐
- Matlab paper chart standard format output (dry goods)
- 研究生可以不用学英语?只要考研英语或六级分数高!
- Programmer growth Chapter 8: do a good job of testing
- Integer ==比较会自动拆箱 该变量不能赋值为空
- Zhubo Huangyu: these spot gold investment skills are not really bad
- How to deal with the Yellow Icon during the installation of wampserver
- When using Tencent cloud for the first time, you can only use webshell connection instead of SSH connection.
- asp.net 读取txt文件
- Introduction to Chapter 8 proof problem of njupt "Xin'an numeral base"
- Zhubo Huangyu: it's really bad not to understand these gold frying skills
猜你喜欢
随机推荐
Solve the problem of "unable to open source file" xx.h "in the custom header file on vs from the source
MMSeg——Mutli-view时序数据检查与可视化
Apicloud studio3 WiFi real machine synchronization and WiFi real machine preview instructions
什么是网络端口
leetcode 10. Regular expression matching regular expression matching (difficult)
[notes of in-depth study paper]uctransnet: rethink the jumping connection in u-net from the perspective of transformer channel
不知道这4种缓存模式,敢说懂缓存吗?
Binder communication process and servicemanager creation process
redis6数据类型及操作总结
Usage, installation and use of TortoiseSVN
Write API documents first or code first?
Win10 - lightweight gadget
Matlab paper chart standard format output (dry goods)
jasypt配置文件加密|快速入门|实战
【MySQL 使用秘籍】一網打盡 MySQL 時間和日期類型與相關操作函數(三)
The real king of caching, Google guava is just a brother
Interviewer soul torture: why does the code specification require SQL statements not to have too many joins?
"Baidu Cup" CTF competition in September, web:upload
53. Maximum subarray sum: give you an integer array num, please find a continuous subarray with the maximum sum (the subarray contains at least one element) and return its maximum sum.
记录一下在深度学习-一些bug处理








