SPARC Assembler Support.
More...
|
file | asm.h |
| This header file provides interfaces to address problems caused by incompatible flavor of assemblers and toolsets.
|
|
|
#define | __USER_LABEL_PREFIX__ _ |
|
#define | __REGISTER_PREFIX__ |
|
#define | SYM(x) RTEMS_XCONCAT(__USER_LABEL_PREFIX__, x) |
|
#define | REG(x) RTEMS_XCONCAT(__REGISTER_PREFIX__, x) |
|
#define | BEGIN_CODE_DCL .text |
|
#define | END_CODE_DCL |
|
#define | BEGIN_DATA_DCL .data |
|
#define | END_DATA_DCL |
|
#define | BEGIN_CODE .text |
|
#define | END_CODE |
|
#define | BEGIN_DATA |
|
#define | END_DATA |
|
#define | BEGIN_BSS |
|
#define | END_BSS |
|
#define | END |
|
#define | PUBLIC(sym) .globl SYM (sym) |
|
#define | EXTERN(sym) .globl SYM (sym) |
|
#define | TRAP(_vector, _handler) |
|
#define | RTRAP(_vector, _handler) |
|
SPARC Assembler Support.
◆ RTRAP
#define RTRAP |
( |
|
_vector, |
|
|
|
_handler |
|
) |
| |
Value: mov %g0, %l0 ; \
sethi %hi(_handler), %l4 ; \
jmp %l4+%lo(_handler); \
mov _vector, %l3
◆ TRAP
#define TRAP |
( |
|
_vector, |
|
|
|
_handler |
|
) |
| |
Value: mov %psr, %l0 ; \
sethi %hi(_handler), %l4 ; \
jmp %l4+%lo(_handler); \
mov _vector, %l3