当前位置:网站首页>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
边栏推荐
- ~71 abbreviation attribute of font
- Activiti directory (III) deployment process and initiation process
- 唯有学C不负众望 TOP1环境配置
- Erlang installation
- 这群程序员中的「广告狂人」,把抖音广告做成了AR游戏
- J'ai traversé le chemin le plus fou, le circuit cérébral d'un programmeur de saut d'octets
- Monomer application concept
- 字节跳动多篇论文入选 CVPR 2021,精选干货都在这里了
- 在 vi 编辑器中的命令模式下,删除当前光标处的字符使用 __ 命 令。
- After the subscript is used to assign a value to the string type, the cout output variable is empty.
猜你喜欢
Description of project structure configuration of idea
Activiti directory (III) deployment process and initiation process
字节跳动多篇论文入选 CVPR 2021,精选干货都在这里了
Activit零零碎碎要人命的坑
Usage of insert() in vector
Solr standalone installation
Activiti目录(五)驳回、重新发起、取消流程
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
Shell_ 02_ Text three swordsman
ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
随机推荐
字节跳动春招攻略:学长学姐笔经面经,还有出题人「锦囊」
Eureka single machine construction
~87 animation
Some instructions on whether to call destructor when QT window closes and application stops
Activiti目录(一)重点介绍
Fdog series (III): use Tencent cloud SMS interface to send SMS, write database, deploy to server, web finale.
After idea installs the plug-in, restart the plug-in and disappear
搭建flutter环境入坑集合
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
The QT program compiled on CentOS lacks a MySQL driven solution
The 116 students spent three days reproducing the ByteDance internal real technology project
~73 other text styles
100张图训练1小时,照片风格随意变,文末有Demo试玩|SIGGRAPH 2021
一个数10年工作经验的微服务架构老师的简历
~77 linear gradient
~82 style of table
TypeScript基本操作
MySQL字符串函数
Idea resolving jar package conflicts
字节跳动技术面试官现身说法:我最想pick什么样的候选人