|
LMMS
|
Macros | |
| #define | FLUSH_TIME() |
| #define | CACHE_TIME() |
| #define | PAGE_OFFSET(addr) |
| #define | TIME (s_time + s.base) |
| #define | READ(addr) |
| #define | WRITE(addr, data) |
| #define | READ_LOW(addr) |
| #define | WRITE_LOW(addr, data) |
| #define | READ_PROG(addr) |
| #define | SET_SP(v) |
| #define | GET_SP() |
| #define | PUSH(v) |
| #define | IS_NEG (nz & 0x8080) |
| #define | CALC_STATUS(out) |
| #define | SET_STATUS(in) |
| #define | GET_MSB() |
| #define | ADD_PAGE(out) |
| #define | GET_ADDR() |
| #define | PAGE_CROSS_PENALTY(lsb) |
| #define | BRANCH(cond) |
| #define | ARITH_ADDR_MODES(op) |
| #define | INC_DEC_AXY(reg, n) |
| #define | SWAP_REGS(r1, r2) |
| #define | POP() |
Variables | |
| int const | ram_addr = 0x2000 |
| int const | st_n = 0x80 |
| int const | st_v = 0x40 |
| int const | st_t = 0x20 |
| int const | st_b = 0x10 |
| int const | st_d = 0x08 |
| int const | st_i = 0x04 |
| int const | st_z = 0x02 |
| int const | st_c = 0x01 |
| #define ADD_PAGE | ( | out | ) |
| #define ARITH_ADDR_MODES | ( | op | ) |
| #define CACHE_TIME | ( | ) |
| #define CALC_STATUS | ( | out | ) |
| #define GET_ADDR | ( | ) |
| #define GET_MSB | ( | ) |
| #define INC_DEC_AXY | ( | reg, | |
| n ) |
| #define IS_NEG (nz & 0x8080) |
| #define PAGE_CROSS_PENALTY | ( | lsb | ) |
| #define PAGE_OFFSET | ( | addr | ) |
| #define POP | ( | ) |
| #define PUSH | ( | v | ) |
| #define READ | ( | addr | ) |
| #define READ_PROG | ( | addr | ) |
| #define SET_STATUS | ( | in | ) |
| #define SWAP_REGS | ( | r1, | |
| r2 ) |
| #define TIME (s_time + s.base) |
| #define WRITE | ( | addr, | |
| data ) |