Delphi帮助文档(翻译三)
This syntax of an assembly statement is
汇编语句的语法
Label: PrefixOpcodeOperand1, Operand2
Label: PrefixOpcodeOperand1, Operand2
where Label is a label, Prefix is an assembly prefix opcode (operation code), Opcode is an assembly instruction opcode or directive, and Operand
在这里Label是一个符号,前缀是一个opcode的汇编前缀,Opcode是一个条汇编指令或一个指示符,Operand是一个汇编表达式,符号和前缀是可选的
有些opcode可以带一个操作数,而有些什么也不带。
注释只能在汇编语句之间,而不能在汇编语句内,示例如下:
is an assembly expression. Label and Prefix are optional. Some opcodes take only one operand, and some take none.
Comments are allowed between assembly statements, but not within them. For example,
MOV AX,1 {Initial value} { OK }
MOV CX,100 {Count} { OK }
MOV {Initial value} AX,1; { Error! }
MOV CX, {Count} 100 { Error! }