当前位置:网站首页>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 .
边栏推荐
- Integer ==比较会自动拆箱 该变量不能赋值为空
- Idea remote debugging agent
- Solve the problem of invalid uni app configuration page and tabbar
- “百度杯”CTF比赛 九月场,Web:SQL
- Zhubo Huangyu: it's really bad not to understand these gold frying skills
- 【云资源】云资源安全管理用什么软件好?为什么?
- asp. Net read TXT file
- Flutter 3.0更新后如何应用到小程序开发中
- [public class preview]: basis and practice of video quality evaluation
- Operational research 68 | the latest impact factors in 2022 were officially released. Changes in journals in the field of rapid care
猜你喜欢
What about data leakage? " Watson k'7 moves to eliminate security threats
Win10 - lightweight gadget
记录一下在深度学习-一些bug处理
Catch all asynchronous artifact completable future
内网穿透工具 netapp
What happened to the communication industry in the first half of this year?
Nantong online communication group
Aikesheng sqle audit tool successfully completed the evaluation of "SQL quality management platform grading ability" of the Academy of communications and communications
French scholars: the explicability of counter attack under optimal transmission theory
这18个网站能让你的页面背景炫酷起来
随机推荐
南理工在线交流群
Laravel框架运行报错:No application encryption key has been specified
49. 字母异位词分组:给你一个字符串数组,请你将 字母异位词 组合在一起。可以按任意顺序返回结果列表。 字母异位词 是由重新排列源单词的字母得到的一个新单词,所有源单词中的字母通常恰好只用一次。
【Hot100】33. Search rotation sort array
TortoiseSVN使用情形、安装与使用
【云资源】云资源安全管理用什么软件好?为什么?
[notes of in-depth study paper]uctransnet: rethink the jumping connection in u-net from the perspective of transformer channel
Redis6 master-slave replication and clustering
Write API documents first or code first?
ZABBIX monitoring
STM32 reverse entry
Go pointer
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.
Prefix, infix, suffix expression "recommended collection"
4年工作经验,多线程间的5种通信方式都说不出来,你敢信?
Primary code audit [no dolls (modification)] assessment
When using Tencent cloud for the first time, you can only use webshell connection instead of SSH connection.
With 4 years of working experience, you can't tell five ways of communication between multithreads. Dare you believe it?
Zhubo Huangyu: these spot gold investment skills are not really bad
Simple PHP paging implementation