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

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

主站蜘蛛池模板: 芒康县| 台南县| 墨江| 望谟县| 金坛市| 耒阳市| 修文县| 九龙坡区| 清水河县| 富宁县| 建水县| 通城县| 蒙阴县| 保靖县| 故城县| 海阳市| 郎溪县| 当雄县| 松阳县| 来宾市| 五寨县| 景德镇市| 新疆| 正定县| 石嘴山市| 柳河县| 任丘市| 万源市| 东兴市| 德安县| 北辰区| 旺苍县| 绍兴市| 甘德县| 嵊州市| 德钦县| 禄丰县| 新昌县| 子长县| 新兴县| 威信县|