Labels are used in built-in
assembler statements as they are in Object Pascal by writing the label and a
colon before a statement. There is no limit to a label’s length. As in Object
Pascal, labels must be declared in a label declaration part in the block
containing the asm statement. There is one exception to this rule: local
labels.
Local labels are labels that start with an at-sign (@). They consist of an at-sign followed by one or more letters, digits, underscores, or at-signs. Use of local labels is restricted to asm statements, and the scope of a local label extends from the asm reserved word to the end of the asm statement that contains it. A local label doesn’t have to be declared.
标号在内建汇编语句中的用法与在Object
Pascal语句中的用法一样,写成一个标号并且紧随一个冒号。标号的长度不受限制。与Object Pascal中一样,标号必须在包含asm语句的块中以label声明语句声明。对这一规则,局部标号(local labels)有一个例外。
局部标号是以地址符(@)开始的标号。它们由一个地址符(@)和紧随其后的一个或多个字母、数字、下划线或地址符(@)组成。局部标号的使用仅限于asm语句,并且局部标号的作用域延伸到自asm保留字到asm语句结束之间包含的部分。局部标号不必声明。