Home | History | Annotate | Download | only in opcodes

Lines Matching refs:rl78

28 #include "opcode/rl78.h"
34 RL78_Opcode_Decoded * rl78;
40 #define ID(x) rl78->id = RLO_##x, rl78->lineno = __LINE__
41 #define OP(n,t,r,a) (rl78->op[n].type = t, \
42 rl78->op[n].reg = r, \
43 rl78->op[n].addend = a )
45 (rl78->op[n].type = t, \
46 rl78->op[n].reg = r1, \
47 rl78->op[n].reg2 = r2, \
48 rl78->op[n].addend = a )
50 #define W() rl78->size = RL78_Word
53 #define GETBYTE() (ld->op [ld->rl78->n_bytes++] = ld->getbyte (ld->ptr))
56 #define SYNTAX(x) rl78->syntax = x
59 rl78->syntax = "*unknown*"
64 #define Fz rl78->flags = RL78_PSW_Z
65 #define Fza rl78->flags = RL78_PSW_Z | RL78_PSW_AC
66 #define Fzc rl78->flags = RL78_PSW_Z | RL78_PSW_CY
67 #define Fzac rl78->flags = RL78_PSW_Z | RL78_PSW_AC | RL78_PSW_CY
68 #define Fa rl78->flags = RL78_PSW_AC
69 #define Fc rl78->flags = RL78_PSW_CY
70 #define Fac rl78->flags = RL78_PSW_AC | RL78_PSW_CY
113 #define DE() rl78->op[0].use_es = 1
114 #define DB(b) set_bit (rl78->op, b)
124 #define SE() rl78->op[1].use_es = 1
125 #define SB(b) set_bit (rl78->op+1, b)
127 #define COND(c) rl78->op[1].condition = RL78_Condition_##c
165 RL78_Opcode_Decoded * rl78,
175 lds.rl78 = rl78;
180 memset (rl78, 0, sizeof (*rl78));
453 rl78->syntax = "di";
757 rl78->syntax = "mulhu"; ID(mulhu);
760 rl78->syntax = "mulh"; ID(mulh);
763 rl78->syntax = "divhu"; ID(divhu);
766 rl78->syntax = "divwu <old-encoding>"; ID(divwu);
769 rl78->syntax = "machu"; ID(machu);
772 rl78->syntax = "mach"; ID(mach);
775 rl78->syntax = "divwu"; ID(divwu);
1061 rl78->syntax = "ei";
1291 return rl78->n_bytes;