当前位置:网站首页>X86 assembly language - Notes from real mode to protected mode
X86 assembly language - Notes from real mode to protected mode
2022-07-03 14:22:00 【InfoQ】
Segment address : offset

16 Bit register
- AX accumulator (Accumulator)
- BX Base register (Base Address Register)
- CX Counter (Counter)
- DX data (Data) register
- SI Source index register (Source Index)
- DI Target index register (Destination Index)
- BP Base pointer register (Base Pointer)
- SP Stack register (Stack Pointer)
- Code segment (Code Segment,CS)
- Data segment (Data Segment,DS)
- Additional segment (Extra Segment, ES)
- Stack segment (Stack Segment,SS)
- IP: Instruction pointer (Instruction Pointer)

- Arithmetic logic unit (arithmetic and logic unit) ALU
Professional terms
- Dynamic random access memory (Dynamic Random Access Memory,DRAM)
- read-only memory (Read Only Memory,ROM)
- floppy disk (Floppy Disk)
- Hard disk (Hard Disk,HDD)
- “ turn / minute ”(Round Per Minute,RPM)
- Magnetic track (Track)
- cylinder (Cylinder)
- A sector (Sector)
- Master boot record (Master boot record, Abbreviation for MBR)
- Main boot sector : The first sector is 0 Noodles 0 Avenue 1 A sector , Or rather, 0 head 0 column 1 A sector
- virtual machine (Virtual Machine,VM)
Main guide fan
- Main boot sector (Main Boot Sector,MBR)
- Display memory (Video RAM:VRAM), abbreviationmemory
Computer startup

- Electrify
- Read ROM Inside BIOS, Used to check the hardware
- Hardware check passed
- BIOS According to the specified order , Check the first sector of the boot device ( Master boot record ), Load in memory address 0x7C00
- The master boot record gives the operation right to the operating system
0x0000~0x7FFF0x0000~0x03FF0x0400~0x7FFF0x7FFF - 512 - 512 + 1 = 0x7C00
Display text on screen


Initialize segment register
label
Pseudo instruction (pseudo Instruction)
- DB: Declaration byte (Declare Byte)
- DW(Declare Word) Used to declare word data
- DD(Declare Double Word) Used to declare double words ( Two words ) data
- DQ(Declare Quad Word) Used to declare quadword data
8086 Addressing mode of processor
- Register addressing
- Address immediately
- Memory addressing
- Direct addressing
- Base addressing
- BX
- BP
- Addressing
- SI
- DI
- Base addressing
Access and control of hard disk and graphics card
equ


in
out
边栏推荐
- GRPC的四种数据流以及案例
- Exercise 7-6 count capital consonants
- Raft 协议
- How to bold text in AI
- 中国锂电池电解液行业市场专项调研报告(2022版)
- Solution to failure or slow downloading of electron when electron uses electron builder to package
- Statistical capital consonants
- Sendmail无法发送邮件及发送过慢解决
- 7-28 monkeys choose King (Joseph problem)
- 7-23 currency conversion (using array conversion)
猜你喜欢

修改数据库中的记录为什么报这个错

JS Part III

Why are grass-roots colleges and universities with "soil and poverty" called "Northeast small Tsinghua"?

NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线

Polestar美股上市:5.5万台交付如何支持得起超200亿美元估值

好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录

Exercise 6-2 using functions to sum special A-string sequences

QT learning 25 layout manager (4)

牛客网:过河卒

Global event bus
随机推荐
JS download files through URL links
C language,%d% Difference between 2D%2d%02d
Exercise 6-1 classify and count the number of characters
QT learning 25 layout manager (4)
JS get DPI, PX to cm, cm to PX
Exercise 6-6 use a function to output an integer in reverse order
Exercise 10-6 recursively find Fabonacci sequence
Sendmail无法发送邮件及发送过慢解决
泰凌冲刺科创板:拟募资13亿 国家大基金与小米长江是股东
Global event bus
Article content typesetting and code highlighting
Find the sum of the elements of each row of the matrix
中感微冲刺科创板:年营收2.4亿净亏1782万 拟募资6亿
SSH访问控制,多次失败登录即封掉IP,防止暴力破解
MySQL multi table query subquery
The mail function of LNMP environment cannot send mail
[Jilin University] information sharing of postgraduate entrance examination and re examination
7-20 print 99 formula table (format output)
PCB中常用快捷键
Collection of mobile adaptation related articles