How CPUs work
The CPU is composed of devices, controllers, registers, etc., which are connected by the internal bus
2.1 General-Purpose registers
8086 has 14 registers (16-bit): AX,BX,CX,DX,SI,DI,SP,BP,IP,CS,SS,DS,ES,PSW
AX,BX,CX,DX is called a general-purpose register to hold general data, and to ensure backwards compatibility, the universal register can be divided into two independent 8-bit registers.
Example: Ax:ah and Al (High-low)
2.2 Words in
In the past, when making a Web site, often encountered the current page of the classification highlighting, so that users know which page is currently on. It has been written on every different page before. The project quantity is big, also is not easy to revise. have been thinking of what a simple way to achieve. Later on the internet can be used to get the details of the current URL to judge. So we collected the data about the function of jquery to get the URL.Sets or gets the file name or pat
direct operation of the hardware, visual inspection is more, I estimate will be more boring, and " 80X86 assembly Language Programming Tutorial "from 8086, the latter 80386 will be related to the modern CPU working mode, this became the reason I chose it."Now let's talk about what you can learn from it:1) You can see how the computer hardware resources are organized in memory2) You can understand what is called the BIOS3) You can bypass the operating
the sas raid Controller sub-card battery and Troubleshooting System cooling failures.
E12nn
XX pwrgd
The specified voltage regulator fails.
E1229
CPU # vcore
The processor # vcore voltage regulator is faulty.
E1310
Rpm fan ##
The RPM of the specified cooling fan exceeds the permitted operating range.
See Troubleshooting System cooling faults.
E1313
Fan Redundancy
The fan in the system is no longer redundant. If the fan fai
From the computer system structure, we can see that the computer system includes the hardware system and software system. The hardware system is the foundation of the computer, and the software system is the upper-layer building of the computer. A complete computer system must contain hardware systems and software systems. Only bare metal machines that have no software system are called hardware systems. Hardware systems generally include: microprocessor
critical. The selection of processors often limits the selection of operating systems, and the selection of operating systems also limits the selection of development tools.
Hardware Platform Selection
Processor Selection
The core component of the embedded system is various types of embedded processors. According to incomplete statistics, the total number of embedded processors worldwide has exceeded more than 1000, with more than 30 popular systems. However, unlike the global PC market. No
, hardware components, operating systems, programming languages, software development tools, hardware debugging tools, and software components. In the above selection, the processor is often the most important, and the operating system and programming language are also critical. The selection of processors often limits the selection of operating systems, and the selection of operating systems also limits the selection of development tools.
Hardware platform selection
Processor selection
The
first, the embedded system composition:Embedded system = Embedded hardware system + Embedded software system, embedded hardware system = Embedded Processor (CPU) + Embedded Peripheral device (ROM + RAM + I/O device + ...) );Embedded software system = Embedded operating system + embedded application;second, embedded hardware system structure diagram:embedded microprocessor:(1) Embedded processor = {Processor Core, three large bus (data, address, contro
Article title: Linux implementation features based on the i386 architecture-memory and process. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Summary
?? The Linux kernel design should take into account the implementation on a variety of different microprocessor, as well as the implementation on 64-bit
1.1.1 hardware platform Selection
The core component of the embedded system is various types of embedded processors. According to incomplete statistics, the total number of embedded processors worldwide has exceeded more than 1000, and the popular architecture has 30 series. However, unlike the global PC market, there is no microprocessor or microprocessor company that can take the lead in an embedded syste
Introduction to cortex series arm kernels
Author: Yang Shuo,Hua Qing vision embedded college lecturer.
As we all know, arm companies in the UK are the best embedded microprocessor in the world. Arm has always developed its own microprocessor kernel architecture, and then authorized the intellectual property rights of these architectures to various chip manufacturers for a streamlined CPU architecture, the e
operation overflows, UNIVAC turns to address 0 to remove the instruction. Two repair instructions will be executed there. This approach is already very flexible. But there are still some areas that deserve improvement. For example, in memory, if only two instructions are reserved for repair instructions starting at address 0. If you later want to change the way the repair, you need to add a few more instructions, the space reserved here is probably not enough. In addition, when the number of an
interrupt, 1 open
IOPL (I/O Privilege level)
12,13
I/O permission level for the current task (program)
NT (Nested Task Flag)
14
Task nesting flags, 1 the current task is linked to the task performed earlier, usually because an interrupt or an exception triggers the task gate in the IDT table
RF (Resume Flag)
16
Control processor response to debug exceptions (#DB), 1 temporarily disables debug exceptions due to instruction b
all of these technologies will be outdated, creating CPUs with even more amazing computing power.
Basic processor Assembly Line
From a very broad perspective, the x86 processor architecture has not changed much in the past 35 years. Although many new features are added to the X86 architecture, the initial design (including almost all initial instruction sets) is basically completely retained, even on the latest processor.
The original 8086 proc
When downloading the Debian system, there are two options: ADM64 and i386, what is the difference between the two?I386=intel 80386. In fact, i386 is commonly used as a generic term for Intel (Intel) 32-bit microprocessors.AMD64, also known as "x86-64" or "x64", is a 64-bit computer processor architecture. It is built on the existing 32-bit x86 architecture, developed by AMD.The following references: The x86 architecture first appeared in 1978 with the Intel
I have been reading this item during this time. Today I will summarize it:
To understand the real and protection modes, let's talk about the history of intel X86 CPU development.
Starting from 8086, 8086 is a 16-bit CPU (why is it a 16-bit address line? No, because 8086 is a 20-bit address line, which generally refers to the width of the "arithmetic logic unit"
two binary bits, also known as an I/O privileged level field. This field specifies the privileged level required to execute the I/O command. If the current privileged level is less than or equal to the iopl value, the I/O command can be executed. Otherwise, a protection exception occurs.2. nested task flag NT (nested task)The nested task flag NT is used to control the iret execution of the interrupt return command. The specific provisions are as follows:(1) When Nt = 0, use the stored values in
Process-memory segment mechanism
Take a look at the curse of segments before you start reading
hardware segment mechanism of 1.x86
Wiki.osdev-segmentation
Modes of Memory addressing on x86
introduction of 1.1-segment mechanism
? Just before the 8086CPU appeared, address bus was already 16 bits (64KB), and in the beginning the segment was introduced to solve the problem of "address bus width greater than register width ". For example,
_processor Detection Schemes_by Richard C. leinecker[LISTING One];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Detect the Processor Type-by Richard C. leinecker;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;_ptext SEGMENT PARA Public ' CODE 'Assume Cs:_ptext, Ds:_ptextPublic _processor; This routine returns the processor type as an integer value.; C Prototype; int Processor (void);; returns:0 = 8088, 1 =
CPU Working principle
CPU by the operator, controller, registers and other components, these devices rely on the internal bus connected
2.1 General Registers
8086 has 14 registers (16 bits): AX,BX,CX,DX,SI,DI,SP,BP,IP,CS,SS,DS,ES,PSW
AX,BX,CX,DX is called a universal register, used to store general data, to ensure backward compatibility, general-purpose registers can be divided into two separate 8-bit registers to use
Example: Ax:ah and Al (high-low p
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.