当前位置:网站首页>source program in assembly language
source program in assembly language
2022-08-05 01:28:00 【one question per day】
The process from writing to execution of the source program
Brief process: write --> compile --> link --> execute.
Assembly and pseudo-instructions

1.Assembly instruction
YesThe corresponding machine code instructions can be compiled into machine instructions and finally executed by the CPU.
2. Pseudo-instructions
There is no corresponding machine code instruction and will not be executed by the CPU.
Note: A pseudo-instruction is an instruction executed by the compiler, and the compiler performs related compilation work according to the pseudo-instruction.
Define a section
1. segment and ends are a pair of pseudo-instructions, which must be used when writing an assembler that can be compiled by a compilerA pair of pseudo-instructions.
2. The function of segment and ends is to define a segment, segment indicates a segment start, and ends indicate a segment end.
3. Use the format:
segment name segment
segment name ends
4. An assembler is composed of multiple segments, which are used to store code, datastrong>Or use it as stack space.Therefore, a meaningful assembly program must have at least one code segment.
Note: end is an assembler end tag, not to be confused with ends.
5. assume means assumption, he assumes that a segment register is related to a segment defined by segment…ends in the programlink.
边栏推荐
猜你喜欢

【Word】Word公式导出PDF后出现井号括号#()错误

4. PCIe interface timing

Bit rate vs. resolution, which one is more important?

ora-01105 ora-03175

金仓数据库 KingbaseES V8 GIS数据迁移方案(3. 基于ArcGIS平台的数据迁移到KES)

sqlite--nested exception is org.apache.ibatis.exceptions.PersistenceException:

阶段性测试完成后,你进行缺陷分析了么?

Creative code confession

Dynamic Programming/Knapsack Problem Summary/Summary - 01 Knapsack, Complete Knapsack

PCIe Core Configuration
随机推荐
2022杭电多校第一场
Software testing interview questions: How many types of software are there?
AI+小核酸药物|Eleven完成2200万美元种子轮融资
PCIe 核配置
Binary tree [full solution] (C language)
Use of pytorch: Convolutional Neural Network Module
Getting Started with Kubernetes Networking
pytorch的使用:卷积神经网络模块
(17) 51 MCU - AD/DA conversion
行业现状?互联网公司为什么宁愿花20k招人,也不愿涨薪留住老员工~
Helm Chart
ORA-00257
方法重写与Object类
超越YOLO5-Face | YOLO-FaceV2正式开源Trick+学术点拉满
Theory of Software Fundamentals
PCIe Core Configuration
ORA-01105 ORA-03175
BC(转)[js]js计算两个时间相差天数
金仓数据库 KingbaseES V8 GIS数据迁移方案(3. 基于ArcGIS平台的数据迁移到KES)
FSAWS 的全球基础设施和网络