Lines Matching refs:rl78

35   RL78_Opcode_Decoded * rl78;  member
41 #define ID(x) rl78->id = RLO_##x, rl78->lineno = __LINE__
42 #define OP(n,t,r,a) (rl78->op[n].type = t, \
43 rl78->op[n].reg = r, \
44 rl78->op[n].addend = a )
46 (rl78->op[n].type = t, \
47 rl78->op[n].reg = r1, \
48 rl78->op[n].reg2 = r2, \
49 rl78->op[n].addend = a )
51 #define W() rl78->size = RL78_Word
54 #define GETBYTE() (ld->op [ld->rl78->n_bytes++] = ld->getbyte (ld->ptr))
57 #define SYNTAX(x) rl78->syntax = x
60 rl78->syntax = "*unknown*"
65 #define Fz rl78->flags = RL78_PSW_Z
66 #define Fza rl78->flags = RL78_PSW_Z | RL78_PSW_AC
67 #define Fzc rl78->flags = RL78_PSW_Z | RL78_PSW_CY
68 #define Fzac rl78->flags = RL78_PSW_Z | RL78_PSW_AC | RL78_PSW_CY
69 #define Fa rl78->flags = RL78_PSW_AC
70 #define Fc rl78->flags = RL78_PSW_CY
71 #define Fac rl78->flags = RL78_PSW_AC | RL78_PSW_CY
114 #define DE() rl78->op[0].use_es = 1
115 #define DB(b) set_bit (rl78->op, b)
125 #define SE() rl78->op[1].use_es = 1
126 #define SB(b) set_bit (rl78->op+1, b)
128 #define COND(c) rl78->op[1].condition = RL78_Condition_##c
166 RL78_Opcode_Decoded * rl78, in rl78_decode_opcode() argument
175 lds.rl78 = rl78; in rl78_decode_opcode()
180 memset (rl78, 0, sizeof (*rl78)); in rl78_decode_opcode()
3652 rl78->syntax = "ei"; in rl78_decode_opcode()
3680 rl78->syntax = "di"; in rl78_decode_opcode()
5161 rl78->syntax = "mulhu"; ID(mulhu); in rl78_decode_opcode()
5164 rl78->syntax = "mulh"; ID(mulh); in rl78_decode_opcode()
5167 rl78->syntax = "divhu"; ID(divhu); in rl78_decode_opcode()
5170 rl78->syntax = "divwu <old-encoding>"; ID(divwu); in rl78_decode_opcode()
5173 rl78->syntax = "machu"; ID(machu); in rl78_decode_opcode()
5176 rl78->syntax = "mach"; ID(mach); in rl78_decode_opcode()
5179 rl78->syntax = "divwu"; ID(divwu); in rl78_decode_opcode()
5770 return rl78->n_bytes; in rl78_decode_opcode()