1 |
/* Definitions for decoding the picoJava opcode table. |
/* Definitions for decoding the picoJava opcode table. |
2 |
Copyright 1999 Free Software Foundation, Inc. |
Copyright 1999, 2002, 2003 Free Software Foundation, Inc. |
3 |
Contributed by Steve Chamberlain of Transmeta (sac@pobox.com). |
Contributed by Steve Chamberlain of Transmeta (sac@pobox.com). |
4 |
|
|
5 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
36 |
#define UNS(x) (!!((x) & (1<<3))) |
#define UNS(x) (!!((x) & (1<<3))) |
37 |
|
|
38 |
|
|
39 |
typedef struct |
typedef struct pj_opc_info_t |
40 |
{ |
{ |
41 |
short opcode; |
short opcode; |
42 |
short opcode_next; |
short opcode_next; |
43 |
char len; |
char len; |
44 |
unsigned char arg[2]; |
unsigned char arg[2]; |
45 |
const char *name; |
union { |
46 |
|
const char *name; |
47 |
|
void (*func) (struct pj_opc_info_t *, char *); |
48 |
|
} u; |
49 |
} pj_opc_info_t; |
} pj_opc_info_t; |