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

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 (;)

主站蜘蛛池模板: 山东省| 麻栗坡县| 三门县| 丰原市| 九江市| 沙田区| 北川| 繁峙县| 台北县| 沁源县| 山东省| 林甸县| 仁布县| 泰和县| 沙田区| 长子县| 法库县| 宜良县| 曲麻莱县| 江都市| 大港区| 龙门县| 玉溪市| 镇江市| 霍邱县| 光山县| 南召县| 金阳县| 丰顺县| 海口市| 上饶市| 诸暨市| 抚州市| 抚远县| 德庆县| 姜堰市| 张家川| 厦门市| 茂名市| 肇州县| 驻马店市|