当前位置:网站首页>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
边栏推荐
- was unable to send heartbeat
- ~81 long table
- QT system learning series: 1.2 style sheet sub control lookup
- Activiti目录(三)部署流程、发起流程
- 服务器端渲染(SSR)和客户端渲染(CSR)的区别
- Some instructions on whether to call destructor when QT window closes and application stops
- ~84 form supplement
- Solr new core
- Activit fragmented deadly pit
- string. How to choose h and string and CString
猜你喜欢

TCP的三次握手和四次挥手

~86m rabbit practice

Activit零零碎碎要人命的坑

这群程序员中的「广告狂人」,把抖音广告做成了AR游戏

Many papers on ByteDance have been selected into CVPR 2021, and the selected dry goods are here

~79 Movie card exercise

Activiti目录(三)部署流程、发起流程

算数运算指令

The 116 students spent three days reproducing the ByteDance internal real technology project

I'm "fixing movies" in ByteDance
随机推荐
~72 horizontal and vertical alignment of text
LeetCode 1020. Number of enclaves
Description of project structure configuration of idea
~82 style of table
亮相Google I/O,字节跳动是这样应用Flutter的
Shell_ 00_ First meeting shell
Mongodb learning notes
唯有学C不负众望 TOP4 S1E6:数据类型
~71 abbreviation attribute of font
Train 100 pictures for 1 hour, and the style of the photos changes at will. There is a demo at the end of the article | siggraph 2021
搭建flutter环境入坑集合
~70 row high
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
Activiti目录(五)驳回、重新发起、取消流程
Eureka single machine construction
I'm "fixing movies" in ByteDance
Some instructions on whether to call destructor when QT window closes and application stops
Activiti目录(一)重点介绍
~77 linear gradient
Install docker under windows10 (through Oracle VM VirtualBox)