Go to the source code of this file.
|
#define | I f |
|
#define | N f |
|
#define | D f |
|
#define | M f |
|
#define | OPCODE_(a, b, c, d) 0x##a##b##c##d |
|
#define | OPCODE(a, b, c, d) OPCODE_(a, b, c, d) |
|
#define | NIB0 0 |
|
#define | NIB1 4 |
|
#define | NIB2 8 |
|
#define | NIB3 12 |
|
#define | ADDR(nib, addrmode) |
|
#define | ADDRBITS(nib, addrmode, b) |
|
#define | PARAM(reg, addrmode) |
|
#define | MOVL 0x1fff |
|
#define | NOPARAM ADDR(NIB0, SH_ADDR_INVALID) |
|
◆ ADDR
#define ADDR |
( |
|
nib, |
|
|
|
addrmode |
|
) |
| |
Value: { \
{ .addr = { .start = nib, .bits = -1, .mode = addrmode } }, .is_param = false \
}
Definition at line 50 of file common.h.
◆ ADDRBITS
#define ADDRBITS |
( |
|
nib, |
|
|
|
addrmode, |
|
|
|
b |
|
) |
| |
Value: { \
{ .addr = { .start = nib, .bits =
b, .mode = addrmode } }, .is_param =
false \
}
Definition at line 56 of file common.h.
◆ MOVL
◆ NIB0
◆ NIB1
◆ NIB2
◆ NIB3
◆ NOPARAM
◆ OPCODE
◆ OPCODE_
#define OPCODE_ |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| 0x##a##b##c##d |
◆ PARAM
#define PARAM |
( |
|
reg, |
|
|
|
addrmode |
|
) |
| |
Value: { { .param = { .param = { \
}, \
.mode = addrmode } }, \
.is_param = true }
Definition at line 62 of file common.h.
◆ SHOpRaw
◆ SHParamBuilder