Xen Test Framework
|
Macros for use in x86 assembly files. More...
Go to the source code of this file.
Macros | |
#define | __ASM_CODE(x) " " #x " " |
#define | __ASM_CODE_RAW(x) #x |
#define | ALIGN .align 16 |
#define | __ASM_SEL(c, l) __ASM_CODE(l) |
#define | __ASM_SEL_RAW(c, l) __ASM_CODE_RAW(l) |
#define | _WORD __ASM_SEL(.long, .quad) |
#define | __ASM_REG(reg) __ASM_SEL_RAW(e ## reg, r ## reg) |
#define | _ASM_AX __ASM_REG(ax) |
#define | _ASM_CX __ASM_REG(cx) |
#define | _ASM_DX __ASM_REG(dx) |
#define | _ASM_BX __ASM_REG(bx) |
#define | _ASM_SP __ASM_REG(sp) |
#define | _ASM_BP __ASM_REG(bp) |
#define | _ASM_SI __ASM_REG(si) |
#define | _ASM_DI __ASM_REG(di) |
Macros for use in x86 assembly files.
Definition in file asm_macros.h.
#define __ASM_CODE | ( | x | ) | " " #x " " |
Definition at line 14 of file asm_macros.h.
#define __ASM_CODE_RAW | ( | x | ) | #x |
Definition at line 15 of file asm_macros.h.
#define ALIGN .align 16 |
Definition at line 18 of file asm_macros.h.
#define __ASM_SEL | ( | c, | |
l | |||
) | __ASM_CODE(l) |
Definition at line 25 of file asm_macros.h.
#define __ASM_SEL_RAW | ( | c, | |
l | |||
) | __ASM_CODE_RAW(l) |
Definition at line 26 of file asm_macros.h.
#define _WORD __ASM_SEL(.long, .quad) |
Definition at line 29 of file asm_macros.h.
#define __ASM_REG | ( | reg | ) | __ASM_SEL_RAW(e ## reg, r ## reg) |
Definition at line 31 of file asm_macros.h.
#define _ASM_AX __ASM_REG(ax) |
Definition at line 33 of file asm_macros.h.
#define _ASM_CX __ASM_REG(cx) |
Definition at line 34 of file asm_macros.h.
#define _ASM_DX __ASM_REG(dx) |
Definition at line 35 of file asm_macros.h.
#define _ASM_BX __ASM_REG(bx) |
Definition at line 36 of file asm_macros.h.
#define _ASM_SP __ASM_REG(sp) |
Definition at line 37 of file asm_macros.h.
#define _ASM_BP __ASM_REG(bp) |
Definition at line 38 of file asm_macros.h.
#define _ASM_SI __ASM_REG(si) |
Definition at line 39 of file asm_macros.h.
#define _ASM_DI __ASM_REG(di) |
Definition at line 40 of file asm_macros.h.