FreeBSD/sys/contrib/x86emu/x86emu.c
/*
 * PARAMETERS:
 * mod		- Mod value from decoded byte
 * regh	- Reg h value from decoded byte
 * regl	- Reg l value from decoded byte
 * 
 * REMARKS:
 * Raise the specified interrupt to be handled before the execution of the
 * next instruction.
 * 
 * NOTE: Do not inline this function, as (*emu->emu_rdb) is already inline!
 */
mod          - Mod value from decoded byte
regh - Reg h value from decoded byte
regl - Reg l value from decoded byte

Raise the specified interrupt to be handled before the execution of the
next instruction.

Do not inline this function, as (*emu->emu_rdb) is already inline!
mod - Mod value from decoded byte regh - Reg h value from decoded byte regl - Reg l value from decoded byte Raise the specified interrupt to be handled before the execution of the next instruction . Do not inline this function as ( * emu - > emu_rdb ) is already inline!
static void 
fetch_decode_modrm(struct x86emu *emu)
{
	int fetched;
	fetched = fetch_byte_imm(emu);
	emu->cur_mod = (fetched >> 6) & 0x03;
	emu->cur_rh = (fetched >> 3) & 0x07;
	emu->cur_rl = (fetched >> 0) & 0x07;
}
static void fetch_decode_modrm ( struct x86emu * emu ) { int fetched ; fetched = fetch_byte_imm ( emu ) ; emu -> cur_mod = ( fetched >> 6 ) & 0x03 ; emu -> cur_rh = ( fetched >> 3 ) & 0x07 ; emu -> cur_rl = ( fetched >> 0 ) & 0x07 ; }
PARAMETERS:
 mod          - Mod value from decoded byte
 regh - Reg h value from decoded byte
 regl - Reg l value from decoded byte
PARAMETERS : mod - Mod value from decoded byte regh - Reg h value from decoded byte regl - Reg l value from decoded byte