官术网_书友最值得收藏!

Basic instructions

Assembly language is made up of direct lines of code that follow this syntax:

The label is used to define the location of the instruction line. It is generally used during development of an assembly code without prior knowledge of the address where the code will be placed in the memory. Some debuggers are able to support having the user label addresses with a readable name. A mnemonic is a human readable instruction, such as MOV, ADD and SUB. Every mnemonic is represented by a byte number or a couple of bytes called an opcode. The operands are the instruction's arguments. This is normally read as destination, source . In the instruction shown above, the eax register is the destination and the doubleword data stored at address 0x0AD4194. Finally, we can add comments to every instruction line of our program. 

In assembly language, code comments are denoted by a semicolon (;)

主站蜘蛛池模板: 会东县| 色达县| 阳曲县| 芒康县| 金溪县| 静乐县| 东阳市| 华坪县| 东乡族自治县| 永新县| 黑龙江省| 平安县| 肥城市| 遂溪县| 建水县| 漳州市| 台北市| 栖霞市| 曲阳县| 镇安县| 嘉义县| 乡宁县| 新民市| 南涧| 道孚县| 阿荣旗| 昂仁县| 乌兰县| 茌平县| 高淳县| 南丰县| 修文县| 英吉沙县| 平谷区| 百色市| 嘉善县| 宁阳县| 方正县| 饶平县| 金溪县| 定陶县|