当前位置:网站首页>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
边栏推荐
- ~84 form supplement
- Thank you for your invitation. I'm in the work area. I just handed in the code. I'm an intern in the next ByteDance
- "One year after graduation, I won ACL best paper"
- Solr new core
- Solr standalone installation
- LeetCode 1637. The widest vertical area between two points without any point
- ~83 form introduction
- ByteDance open source Gan model compression framework, saving up to 97.8% of computing power - iccv 2021
- ByteDance technical Interviewer: what kind of candidate do I want to pick most
- Fdog series (I): think about it. It's better to write a chat software. Then start with the imitation QQ registration page.
猜你喜欢

Data config problem: the reference to entity 'useunicode' must end with ';' delimiter.

~86m rabbit practice

High performance mysql (Third Edition) notes

一个数10年工作经验的微服务架构老师的简历
![Saw local status change event StatusChangeEvent [timestamp=1644048792587, current=DOWN, previous=UP]](/img/e6/c53ad67ead1793a2acb93c26e8d377.jpg)
Saw local status change event StatusChangeEvent [timestamp=1644048792587, current=DOWN, previous=UP]

~79 Movie card exercise

Some instructions on whether to call destructor when QT window closes and application stops

~73 other text styles

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
随机推荐
README. txt
唯有学C不负众望 TOP5 S1E8|S1E9:字符和字符串&&算术运算符
~81 long table
Shell_ 03_ environment variable
LeetCode 1020. Number of enclaves
Mongodb learning notes
Redis standalone startup
~73 other text styles
Shell_ 07_ Functions and regular expressions
汇编语言基础知识
Design of DS18B20 digital thermometer system
Activiti目录(三)部署流程、发起流程
100张图训练1小时,照片风格随意变,文末有Demo试玩|SIGGRAPH 2021
J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
When it comes to Google i/o, this is how ByteDance is applied to flutter
Eureka high availability
MySQL数字函数
Install docker under windows10 (through Oracle VM VirtualBox)
Shell_ 02_ Text three swordsman
LeetCode 1584. Minimum cost of connecting all points