当前位置:网站首页>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 .
边栏推荐
- 嵌入式软件架构设计-消息交互
- Data Lake (VII): Iceberg concept and review what is a data Lake
- Simple PHP paging implementation
- Go array and slice
- Solve the problem of invalid uni app configuration page and tabbar
- 多人合作项目查看每个人写了多少行代码
- What are the private addresses
- 什么是网络端口
- 面试官灵魂拷问:为什么代码规范要求 SQL 语句不要过多的 join?
- Interviewer soul torture: why does the code specification require SQL statements not to have too many joins?
猜你喜欢
The real king of caching, Google guava is just a brother
NFT value and white paper acquisition
The development of speech recognition app with uni app is simple and fast.
Idea设置方法注释和类注释
记录一下在深度学习-一些bug处理
What about data leakage? " Watson k'7 moves to eliminate security threats
MMSeg——Mutli-view时序数据检查与可视化
Redis6 transaction and locking mechanism
Cloudcompare - point cloud slice
基于微信小程序的订餐系统
随机推荐
[deep learning paper notes] hnf-netv2 for segmentation of brain tumors using multimodal MR imaging
Network security HSRP protocol
The real king of caching, Google guava is just a brother
[daily question] 1200 Minimum absolute difference
Address book (linked list implementation)
Jetpack Compose入门到精通
jenkins安装
53. 最大子数组和:给你一个整数数组 nums ,请你找出一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大和。
aspx 简单的用户登录
Matlab paper chart standard format output (dry goods)
zabbix 监控
Win10——轻量级小工具
The development of speech recognition app with uni app is simple and fast.
ETCD数据库源码分析——rawnode简单封装
kafaka 日志收集
面试官灵魂拷问:为什么代码规范要求 SQL 语句不要过多的 join?
Rocky basic command 3
【Hot100】34. Find the first and last positions of elements in a sorted array
Don't know these four caching modes, dare you say you understand caching?
restTemplate详解