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

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

主站蜘蛛池模板: 江达县| 和平县| 安阳县| 武强县| 秭归县| 卓尼县| 荃湾区| 讷河市| 涟源市| 韩城市| 岚皋县| 和田县| 长丰县| 新乡市| 平和县| 安庆市| 徐州市| 盘山县| 静乐县| 米脂县| 江门市| 南通市| 元氏县| 名山县| 石阡县| 泗洪县| 万盛区| 包头市| 萨迦县| 汉寿县| 文成县| 焦作市| 卢龙县| 东台市| 平昌县| 黎城县| 安康市| 嵊泗县| 宜州市| 塔河县| 宜城市|