|
#define | MACH_KDB 0 |
|
#define | FALIGN ALIGN |
|
#define | LB(x, n) n |
|
#define | LCL(x) Lx |
|
#define | EXT(x) _x |
|
#define | LEXT(x) _x: |
|
#define | LBc(x, n) n: |
|
#define | LBb(x, n) nb |
|
#define | LBf(x, n) nf |
|
#define | SVC .byte 0x9a; .long 0; .word 0x7 |
|
#define | RPC_SVC .byte 0x9a; .long 0; .word 0xf |
|
#define | String .asciz |
|
#define | Value .word |
|
#define | Times(a, b) (a*b) |
|
#define | Divide(a, b) (a/b) |
|
#define | INB inb %dx, %al |
|
#define | OUTB outb %al, %dx |
|
#define | INL inl %dx, %eax |
|
#define | OUTL outl %eax, %dx |
|
#define | data16 .byte 0x66 |
|
#define | addr16 .byte 0x67 |
|
#define | MCOUNT |
|
#define | ELF_FUNC(x) |
|
#define | ELF_DATA(x) |
|
#define | ELF_SIZE(x, s) |
|
#define | Entry(x) .globl EXT(x); ELF_FUNC(EXT(x)); .align FALIGN; LEXT(x) |
|
#define | ENTRY(x) Entry(x) MCOUNT |
|
#define | ENTRY2(x, y) |
|
#define | ASENTRY(x) .globl x; .align FALIGN; x: ELF_FUNC(x) MCOUNT |
|
#define | DATA(x) .globl EXT(x); ELF_DATA(EXT(x)); .align ALIGN; LEXT(x) |
|
#define | End(x) ELF_SIZE(x,.-x) |
|
#define | END(x) End(EXT(x)) |
|
#define | ENDDATA(x) END(x) |
|
#define | Enddata(x) End(x) |
|
#define | Gpush |
|
#define | Gpop |
|
#define | Gload |
|
#define | Gcall(func) call func |
|
#define | Gotoff(lab) lab |
|
#define | Gotoff2(l, r) l(r) |
|
#define | Gotoff3(l, r, s) l(,r,s) |
|
#define | Gaddr(to, lab) movl $lab,to |
|
#define | Gcmp(lab, reg) cmpl $lab,reg |
|
#define | Gmemload(lab, reg) movl lab,reg |
|
#define | Gmemstore(reg, lab, tmp) movl reg,lab |
|
#define | Gstack 0 |
|
#define | Egcall(func) Gcall(EXT(func)) |
|
#define | Egaddr(to, lab) Gaddr(to,EXT(lab)) |
|
#define | Egcmp(lab, reg) Gcmp(EXT(lab),reg) |
|
#define | Egmemload(lab, reg) Gmemload(EXT(lab),reg) |
|
#define | Egmemstore(reg, lab, tmp) Gmemstore(reg,EXT(lab),tmp) |
|
#define | Lgotoff(lab) Gotoff(LCL(lab)) |
|
#define | Lgotoff2(l, r) Gotoff2(LCL(l),r) |
|
#define | Lgotoff3(l, r, s) Gotoff3(LCL(l),r,s) |
|
#define | Lgcmp(lab, reg) Gcmp(LCL(lab),reg) |
|
#define | Lgmemload(lab, reg) movl Lgotoff(lab),reg |
|
#define | Lgmemstore(reg, lab, tmp) movl reg,Lgotoff(lab) |
|
#define | CC_SYM_PREFIX "_" |
|