当前位置:网站首页>8086 CPU internal structure
8086 CPU internal structure
2022-07-06 17:02:00 【My71】
[ Link to the original text —— SevenOne’Blog](http://www.my71.fun/2022/03/24/ assembly language /07-8086 CPU structure /)
8086 CPU internal structure
classification
- Structures can be divided into physical results and programming structures .
- Chips can be divided into programmable chips and non programmable chips .
Programming structure
Bus structure unit BIU
Register group
- Segment register :CS( Code segment )、DS( Data segment )、SS( stack segment )、ES( Additional segment )
- Instruction pointer register :IP It belongs to instruction pointer register , It can only store instruction addresses .
- IP The address of the next instruction to be executed is stored in .
- SS Stack segments are used to store temporary data .
- ES Additional segments are used to store additional data .
- The segment register stores the segment address of the current program .
Address adders : Through the address adder, segment address and pointer address can be calculated to get 20 Physical address of bit , And save the changed address in memory .
Command queue
- A queue that stores a collection of instructions ( fifo )
- EU The instructions executed can only come from the instruction queue .
- Internal 6 Bytes of storage space .
- When two or more empty bytes appear in the queue ,BIU Continue to store addresses in the queue .
Bus cycle
- BIU The time to do a job is called bus cycle .
- A bus cycle has at least 4 Clock cycles (T1 ~ T4).
- T1: Sending address
- T2: Revocation address , Prepare for data transmission
- T3: The data transfer
- T4: End transmission , End this bus cycle
execution unit EU
Register group
4 General registers :AX、BX、CX、DX
4 Special registers :SP( Stack pointer register )、BP( Base pointer register )、DI( Destination address register )、SI( Source address register )
8 Both registers are 16 Bit .
General purpose registers can be divided into high 、 low 8 Bit store data .nX Can be divided into nH and nL form .
ALU Logical unit of operation
Flag register (PSW)
- 16 position ,8086 The actual use is 9 position .
- 6 Status flag bits :CD( Carry mark )PF( Parity mark )AF( Half carry sign )ZF( Zero mark )SF( sign indicator )OF( Overflow sign )
- 3 Control flag bits :TF( Single step interrupt flag )IF( Interrupt allow flag )DF( Direction signs )
chart


Working conditions
- Power supply
- Positive pole :VCC
- Negative pole :GND
- The clock : adopt CLK Connect the clock
- Reset :RESET
- Get the signal ready :READY
Pin definition
Positive pole :VCC
Negative pole :GND
System composition
Programming methods
Memory structure
边栏推荐
- LeetCode 1558. Get the minimum number of function calls of the target array
- LeetCode 1566. Repeat the pattern with length m at least k times
- ~86m rabbit practice
- Activiti directory (V) reject, restart and cancel process
- Shell_ 03_ environment variable
- ~75 background
- LeetCode 1641. Count the number of Lexicographic vowel strings
- 唯有学C不负众望 TOP1环境配置
- Activiti目录(四)查询代办/已办、审核
- 一个数10年工作经验的微服务架构老师的简历
猜你喜欢

Shell_ 04_ Shell script

Activiti directory (V) reject, restart and cancel process

Mongodb learning notes

数据传送指令

LeetCode 1584. Minimum cost of connecting all points

~69 other ways to use icon fonts

The most lost road I have ever walked through is the brain circuit of ByteDance programmers

Alibaba cloud server builds SVN version Library

一个数10年工作经验的微服务架构老师的简历

Record the error reason: terminate called after throwing an instance
随机推荐
~Introduction to form 80
[graduation project] QT from introduction to practice: realize imitation of QQ communication, which is also the last blog post in school.
8086 分段技术
Solr new core
8086 内存
Shell_ 04_ Shell script
Conception du système de thermomètre numérique DS18B20
Alibaba cloud server builds SVN version Library
The 116 students spent three days reproducing the ByteDance internal real technology project
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
The daemon thread starts redis and modifies the configuration file
MySQL optimization notes
唯有学C不负众望 TOP2 p1变量
算数运算指令
Data config problem: the reference to entity 'useunicode' must end with ';' delimiter.
数据传送指令
唯有学C不负众望 TOP5 S1E8|S1E9:字符和字符串&&算术运算符
Eureka high availability
Activit零零碎碎要人命的坑
面试集锦库