One, data transfer instructions 1. Universal Data Transfer Instruction MOV (move) transfer push (push onto the stack) stack Pop (pop from stack) out of stack XCHG (Exchange) Exchange . The MOV instruction format is: MOVDST,SRC to perform the
Compassion Ji Shan Learning, technology is willing to learn. Good-hearted quick to build much better, walnuts after the cool. I am here to write the experience, willing to see the text to inspire.
There are two instructions on the stack. Push
1. Data Transmission instructions;
Ii. Arithmetic commands;
Iii. logical commands;
Iv. string processing commands;
5. control transfer instructions;
6. processor control commands.
(For details, see the full text)
I. Data Transmission instructions1.
Cf -- carry flag ). If cf = 1, carry or borrow digits are generated during arithmetic operations. Otherwise, cf = 0. The shift instruction affects cf.
PF -- parity flag (parity flag ). If pF = 1, the number of "1" in the operation result is an even
I. Data Transmission instructions
── ─
They transmit data between the storage and registers, registers, and input/output ports. 1. General Data Transfer commands.
MoV transfers words or bytes.
Movsx first extends the symbol and then transmits
I.. DATA transmission Instructions───────────────────────────────────────They transmit data between the memory and registers, registers, and input and output ports.1. Generic data transfer instructions.MOV transmits word or byte.MOVSX the first
The full name of the program must be followed after debug such as Pro1.exe
Then enter R to see the current register, the input T is stepping, it is important to note that the source must have a start tag or T execution will not be correct.
Input d
The code below, write the data section of the value, first saved to the stack, and then bounce out from the stack, put back the data section, after the execution, data section of the data, in turn.
Assume cs:code,ds:data,ss:stack
data segment
DW 012
Preface
80,861 Total 20 address lines, addressing the physical address with a 16bit segment address + 4bit offset.The same physical address can represent a test program with multiple logical addresses (different segment addresses +
microprocessor, memory, I/O interface circuit and system bus. Micro computer system is based on the micro-computers with the corresponding external equipment and a variety of software, to form a complete, independent information processing system.
3. The 80x86 microprocessor has several generations. What the names of the generations are.
A: From the architecture can be divided into 3 generations: ¬8080/808
This blog post focuses on the features and functions of the CPU registers around the base part of the registers in the 80x86 CPU.ObjectiveFirst, let's introduce the history of Intel CPUs.Intel CPU Series, initially 4-bit microprocessor 4004, then to 8-bit microprocessor 8008, then 8-bit microprocessor 8080, and later 16-bit m
The original link is: http://www.chinaunix.net/old_jh/23/483510.htmlArchitecture of protection methodsProblems:Register model of Protection modeDescription of Protection mode and page table entryStorage management and address translation of protection methodsMulti-task mechanism and protection implementationVirtual 8086 modeA register model of protection modeFour new registers (pointers-----pointing to special data tables in memory):Global Descriptor
application is broad, is widely used in the transaction management, the industrial production process automatic detection and control, the communication, the intelligent terminal, Education and home appliances control and other fields.(3) 16-bit microcomputer: with high-performance 16-bit microprocessor for CPU, data bus width of 16 bits. As the 16-bit microprocessor not only in the integration and process
implementation features based on the i386 architecture
Preface
?? This article discusses the features of linux on the cpu of the i386 system. This article introduces the interrupt mechanism, segment-and-page management of memory, and the hardware mechanism provided by task switching under the i386cpu protection mode, compare the differences between the specific implementation features of Linux and the i386 design intent. Describes how to set the Linux interrupt vector table, initialize the inte
competitive in this rapidly growing market. However, users benefit from low prices. Many of the structural features of early PCs remain in modern PC systems. For example, Intel's most advanced Pentium Pro processor retains the Intel 8086 addressing model. When Linus Torvalds started to write Linux, he chose Intel 80386 PC, which was the most widely used and reasonably priced at the time.. 1 typical PC motherboard. From the outside of the PC, the most
Chapter II Protection Mode 80386 profile "01:30" 8086 addressing space 1M "01:32" 80286 addressing space 16M "01:36" 80386 addressing space 4g control register (eflags) "01:57" EFL AGS is used to instruct the microprocessor "02:41" TF (Trap flag) To activate the debug function on the microprocessor chip. If 1, debugging is allowed, and if 0, debugging is forbi
Basic principle
2.1 8086/8088
The IBM PC Central Processor (processing unit) is a microprocessor inter 8088,8088 is a small version of the 8086. For writing programs, the two are almost identical. The difference between the two is: Their external communication. 8086 and the outside communication is through the 16-bit i
the definition of the time with the ~ logo can be.(2) A virtual function is a manifestation of C + + polymorphism: For example, a subclass inherits a function (method) of the parent class, and when we point the pointer to a subclass, the parent class must have the function (method) set to virtual (virtual function). Using virtual functions, we are flexible to dynamically bind, of course, at the expense of a certain cost.
How to: Use the virtual keyword.
6. What is the difference between a globa
task processing and the processing data sent to the Executing agency Management task Control agency execution. 5, embedded microprocessor architecture
(1) von Neumann structure: The program and data share a storage space, program instruction store address and data storage address point to the same memory different physical location, with a single address and data bus, the program and data width is the same. For example:
16-bit address (A0~A15), can address 64KB of memory space, and I/O interface decoding only use address bus select、read low 8 bit (A0~A7), can address 256 I/O port space.
The I/O interface of 8086 microprocessor also belongs to the independent address way. It allows 64K 8-bit I/O ports and two numbered 8-bit ports that can be combined into a 16-bit port. The instruction system has both an input and output i
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.