• oralce 汇编02


    Assembler Directives

    .align integer, pad
    The .align directive causes the next data generated to be aligned modulo integer bytes.
    Integer must be a positive integer expression and must be a power of 2. If specifed, pad is an
    integer bye value used for padding. The default value of pad for the text section is 0x90
    (nop); for other sections, the default value of pad is zero (0).
    .ascii "string"
    The .ascii directive places the characters in string into the object module at the current
    location but does not terminate the string with a null byte (). String must be enclosed in
    double quotes (") (ASCII 0x22). The .ascii directive is not valid for the .bss section.
    .bcd integer
    The .bcd directive generates a packed decimal (80-bit) value into the current section. The
    .bcd directive is not valid for the .bss section.
    .bss
    The .bss directive changes the current section to .bss.
    .bss symbol, integer
    Defne symbol in the .bss section and add integer bytes to the value of the location counter
    for .bss. When issued with arguments, the .bss directive does not change the current
    section to .bss. Integer must be positive.
    .byte byte1,byte2,...,byteN
    The .byte directive generates initialized bytes into the current section. The .byte directive
    is not valid for the .bss section. Each byte must be an 8-bit value.
    .2byte expression1, expression2, ..., expressionN
    Refer to the description of the .value directive.

    .4byte expression1, expression2, ..., expressionN
    Refer to the description of the .long directive.
    .8byte expression1, expression2, ..., expressionN
    Refer to the description of the .quad directive.
    .comm name, size,alignment
    The .comm directive allocates storage in the data section. The storage is referenced by the
    identifer name. Size is measured in bytes and must be a positive integer. Name cannot be
    predefned. Alignment is optional. If alignment is specifed, the address of name is aligned to
    a multiple of alignment.
    .data
    The .data directive changes the current section to .data.
    .double float
    The .double directive generates a double-precision floating-point constant into the current
    section. The .double directive is not valid for the .bss section.
    .even
    The .even directive aligns the current program counter (.) to an even boundary.
    ext expression1, expression2, ..., expressionN
    The .ext directive generates an 80387 80–bit floating point constant for each expression into
    the current section. The .ext directive is not valid for the .bss section.
    .file "string"
    The .file directive creates a symbol table entry where string is the symbol name and
    STT_FILE is the symbol table type. String specifes the name of the source fle associated with
    the object fle
    .float float
    The .float directive generates a single-precision floating-point constant into the current
    section. The .float directive is not valid in the .bss section.
    .globl symbol1, symbol2, ..., symbolN
    The .globl directive declares each symbol in the list to be global. Each symbol is either
    defned externally or defned in the input fle and accessible in other fles. Default bindings
    for the symbol are overridden. A global symbol defnition in one fle satisfes an undefned
    reference to the same global symbol in another fle. Multiple defnitions of a defned global
    symbol are not allowed. If a defned global symbol has more than one defnition, an error
    occurs. The .globl directive only declares the symbol to be global in scope, it does not defne
    the symbol.

    .group group, section, #comdat
    The .group directive adds section to a COMDAT group. Refer to “COMDAT Section” in
    Linker and Libraries Guide for additional information about COMDAT.
    .hidden symbol1, symbol2, ..., symbolN
    The .hidden directive declares each symbol in the list to have hidden linker scoping. All
    references to symbol within a dynamic module bind to the definition within that module.
    Symbol is not visible outside of the module.
    .ident "string"
    The .ident directive creates an entry in the .comment section containing string. String is any
    sequence of characters, not including the double quote ("). To include the double quote
    character within a string, precede the double quote character with a backslash () (ASCII
    0x5C)
    .lcomm name, size, alignment
    The .lcomm directive allocates storage in the .bss section. The storage is referenced by the
    symbol name, and has a size of size bytes. Name cannot be predefned, and size must be a
    positive integer. If alignment is specifed, the address of name is aligned to a multiple of
    alignment bytes. If alignment is not specifed, the default alignment is 4 bytes.
    .local symbol1, symbol2, ..., symbolN
    The .local directive declares each symbol in the list to be local. Each symbol is defned in the
    input fle and not accessible to other fles. Default bindings for the symbols are overridden.
    Symbols declared with the .local directive take precedence over weak and global symbols.
























  • 相关阅读:
    Spring 多数据源 @Transactional 注解事务管理
    Spring 多数据源 @Transactional 注解事务管理
    Spring 与 SpringMVC 容器父子关系引出的相应问题
    Spring 与 SpringMVC 容器父子关系引出的相应问题
    Mongodb 备份 还原 导出 导入 等批量操作
    Mongodb 备份 还原 导出 导入 等批量操作
    关于WEB-INF目录不提供外部访问及JSP引用 js,css 文件路径问题
    关于WEB-INF目录不提供外部访问及JSP引用 js,css 文件路径问题
    svn工具的使用问题总结
    svn工具的使用问题总结
  • 原文地址:https://www.cnblogs.com/xpylovely/p/10938629.html
Copyright © 2020-2023  润新知