Lines Matching refs:modrm
49 unsigned int modrm : 1; member
169 uint_fast8_t modrm = data[0]; in general_mod$r_m() local
176 if ((modrm & 0xc7) == 6 || (modrm & 0xc0) == 0x80) in general_mod$r_m()
179 else if ((modrm & 0xc0) == 0x40) in general_mod$r_m()
182 else if ((modrm & 0xc0) == 0) in general_mod$r_m()
187 if ((modrm & 0xc7) == 6) in general_mod$r_m()
196 if ((modrm & 0x4) == 0) in general_mod$r_m()
198 "xp"[(modrm >> 1) & 1], "sd"[modrm & 1]); in general_mod$r_m()
201 ((const char [4][3]) { "si", "di", "bp", "bx" })[modrm & 3]); in general_mod$r_m()
213 if ((modrm & 7) != 4) in general_mod$r_m()
218 if ((modrm & 0xc7) == 5 || (modrm & 0xc0) == 0x80) in general_mod$r_m()
221 else if ((modrm & 0xc0) == 0x40) in general_mod$r_m()
224 else if ((modrm & 0xc0) == 0) in general_mod$r_m()
233 (prefixes & has_rex_b) ? hiregs[modrm & 7] : in general_mod$r_m()
235 aregs[modrm & 7]); in general_mod$r_m()
246 else if ((modrm & 0xc7) != 5) in general_mod$r_m()
252 (prefixes & has_rex_b) ? hiregs[modrm & 7] : in general_mod$r_m()
254 aregs[modrm & 7]); in general_mod$r_m()
291 if ((modrm & 0xc7) == 5 || (modrm & 0xc0) == 0x80 in general_mod$r_m()
292 || ((modrm & 0xc7) == 0x4 && (sib & 0x7) == 0x5)) in general_mod$r_m()
295 else if ((modrm & 0xc0) == 0x40) in general_mod$r_m()
304 if ((modrm & 0xc0) != 0 || (sib & 0x3f) != 0x25 in general_mod$r_m()
319 if ((modrm & 0xc7) != 0x4 || (sib & 0x7) != 0x5) in general_mod$r_m()
391 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_MOD$R_M() local
392 if ((modrm & 0xc0) == 0xc0) in FCT_MOD$R_M()
397 uint_fast8_t byte = modrm & 7; in FCT_MOD$R_M()
421 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_Mod$R_m() local
422 if ((modrm & 0xc0) == 0xc0) in FCT_Mod$R_m()
427 uint_fast8_t byte = modrm & 7; in FCT_Mod$R_m()
936 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_mod$r_m() local
937 if ((modrm & 0xc0) == 0xc0) in FCT_mod$r_m()
955 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]); in FCT_mod$r_m()
962 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit); in FCT_mod$r_m()
981 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_moda$r_m() local
982 if ((modrm & 0xc0) == 0xc0) in FCT_moda$r_m()
1016 uint_fast8_t modrm = data[d->opoff1 / 8]; in FCT_mod$r_m$w() local
1017 if ((modrm & 0xc0) == 0xc0) in FCT_mod$r_m$w()
1038 "r%db", 8 + (modrm & 7)); in FCT_mod$r_m$w()
1041 char *cp = stpcpy (bufp + *bufcntp, hiregs[modrm & 7]); in FCT_mod$r_m$w()
1049 bufp[(*bufcntp)++] = "acdb"[modrm & 3]; in FCT_mod$r_m$w()
1050 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2]; in FCT_mod$r_m$w()
1063 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]); in FCT_mod$r_m$w()
1070 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit); in FCT_mod$r_m$w()
1089 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_mod$8r_m() local
1090 if ((modrm & 0xc0) == 0xc0) in FCT_mod$8r_m()
1097 bufp[(*bufcntp)++] = "acdb"[modrm & 3]; in FCT_mod$8r_m()
1098 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2]; in FCT_mod$8r_m()
1110 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_mod$16r_m() local
1111 if ((modrm & 0xc0) == 0xc0) in FCT_mod$16r_m()
1115 uint_fast8_t byte = modrm & 7; in FCT_mod$16r_m()
1135 uint_fast8_t modrm = d->data[d->opoff1 / 8]; in FCT_mod$64r_m() local
1136 if ((modrm & 0xc0) == 0xc0) in FCT_mod$64r_m()
1140 uint_fast8_t byte = modrm & 7; in FCT_mod$64r_m()