Revision 668a38fc sh4-dis.c
b/sh4-dis.c | ||
---|---|---|
1170 | 1170 |
static void print_insn_ppi PARAMS ((int, struct disassemble_info *)); |
1171 | 1171 |
|
1172 | 1172 |
static void |
1173 |
print_movxy (op, rn, rm, fprintf_fn, stream) |
|
1174 |
const sh_opcode_info *op; |
|
1175 |
int rn, rm; |
|
1176 |
fprintf_ftype fprintf_fn; |
|
1177 |
void *stream; |
|
1173 |
print_movxy (const sh_opcode_info *op, int rn, int rm, |
|
1174 |
fprintf_ftype fprintf_fn, void *stream) |
|
1178 | 1175 |
{ |
1179 | 1176 |
int n; |
1180 | 1177 |
|
... | ... | |
1248 | 1245 |
Return nonzero if a field b of a parallel processing insns follows. */ |
1249 | 1246 |
|
1250 | 1247 |
static void |
1251 |
print_insn_ddt (insn, info) |
|
1252 |
int insn; |
|
1253 |
struct disassemble_info *info; |
|
1248 |
print_insn_ddt (int insn, struct disassemble_info *info) |
|
1254 | 1249 |
{ |
1255 | 1250 |
fprintf_ftype fprintf_fn = info->fprintf_func; |
1256 | 1251 |
void *stream = info->stream; |
... | ... | |
1337 | 1332 |
} |
1338 | 1333 |
|
1339 | 1334 |
static void |
1340 |
print_dsp_reg (rm, fprintf_fn, stream) |
|
1341 |
int rm; |
|
1342 |
fprintf_ftype fprintf_fn; |
|
1343 |
void *stream; |
|
1335 |
print_dsp_reg (int rm, fprintf_ftype fprintf_fn, void *stream) |
|
1344 | 1336 |
{ |
1345 | 1337 |
switch (rm) |
1346 | 1338 |
{ |
... | ... | |
1381 | 1373 |
} |
1382 | 1374 |
|
1383 | 1375 |
static void |
1384 |
print_insn_ppi (field_b, info) |
|
1385 |
int field_b; |
|
1386 |
struct disassemble_info *info; |
|
1376 |
print_insn_ppi (int field_b, struct disassemble_info *info) |
|
1387 | 1377 |
{ |
1388 | 1378 |
static const char *sx_tab[] = { "x0", "x1", "a0", "a1" }; |
1389 | 1379 |
static const char *sy_tab[] = { "y0", "y1", "m0", "m1" }; |
... | ... | |
1528 | 1518 |
/* FIXME mvs: movx insns print as ".word 0x%03x", insn & 0xfff |
1529 | 1519 |
(ie. the upper nibble is missing). */ |
1530 | 1520 |
int |
1531 |
print_insn_sh (memaddr, info) |
|
1532 |
bfd_vma memaddr; |
|
1533 |
struct disassemble_info *info; |
|
1521 |
print_insn_sh (bfd_vma memaddr, struct disassemble_info *info) |
|
1534 | 1522 |
{ |
1535 | 1523 |
fprintf_ftype fprintf_fn = info->fprintf_func; |
1536 | 1524 |
void *stream = info->stream; |
Also available in: Unified diff