当前位置:网站首页>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
边栏推荐
- TCP的三次握手和四次挥手
- 唯有学C不负众望 TOP2 p1变量
- 唯有学C不负众望 TOP1环境配置
- Fdog series (4): use the QT framework to imitate QQ to realize the login interface, interface chapter.
- (multiple methods, need to continue to see) 7-11 go deep into the tiger's Den
- IDEA断点调试技巧,多张动图包教包会。
- 字节跳动技术新人培训全记录:校招萌新成长指南
- 汇编语言段定义
- LeetCode 1562. Find the latest group of size M
- Idea resolving jar package conflicts
猜你喜欢
Activit fragmented deadly pit
Shell_ 07_ Functions and regular expressions
Ruoyi-Cloud 踩坑的BUG
Solr word segmentation analysis
~69 other ways to use icon fonts
README. txt
Alibaba cloud server builds SVN version Library
Activiti目录(五)驳回、重新发起、取消流程
Fdog series (I): think about it. It's better to write a chat software. Then start with the imitation QQ registration page.
LeetCode 1558. Get the minimum number of function calls of the target array
随机推荐
Fdog series (V): use QT to imitate QQ to realize login interface to main interface, function chapter.
"One year after graduation, I won ACL best paper"
After idea installs the plug-in, restart the plug-in and disappear
~74 JD top navigation bar exercise
[unsolved] 7-15 shout mountain
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
yum install xxx报错
js垃圾回收机制和内存泄漏
Yao BanZhi and his team came together, and the competition experts gathered together. What fairy programming competition is this?
MySQL optimization notes
8086 内存
逻辑运算指令
Monomer application concept
Shell_ 06_ Judgment and circulation
Activiti目录(三)部署流程、发起流程
How to configure hosts when setting up Eureka
Some instructions on whether to call destructor when QT window closes and application stops
~72 horizontal and vertical alignment of text
7-6 sum of combinatorial numbers
LeetCode 1562. Find the latest group of size M