Lines Matching refs:offset
304 uint offset) in fetch_data_byte() argument
308 x86emu_check_data_access((u16)get_data_segment(), offset); in fetch_data_byte()
310 return (*sys_rdb)((get_data_segment() << 4) + offset); in fetch_data_byte()
323 uint offset) in fetch_data_word() argument
327 x86emu_check_data_access((u16)get_data_segment(), offset); in fetch_data_word()
329 return (*sys_rdw)((get_data_segment() << 4) + offset); in fetch_data_word()
342 uint offset) in fetch_data_long() argument
346 x86emu_check_data_access((u16)get_data_segment(), offset); in fetch_data_long()
348 return (*sys_rdl)((get_data_segment() << 4) + offset); in fetch_data_long()
363 uint offset) in fetch_data_byte_abs() argument
367 x86emu_check_data_access(segment, offset); in fetch_data_byte_abs()
369 return (*sys_rdb)(((u32)segment << 4) + offset); in fetch_data_byte_abs()
384 uint offset) in fetch_data_word_abs() argument
388 x86emu_check_data_access(segment, offset); in fetch_data_word_abs()
390 return (*sys_rdw)(((u32)segment << 4) + offset); in fetch_data_word_abs()
405 uint offset) in fetch_data_long_abs() argument
409 x86emu_check_data_access(segment, offset); in fetch_data_long_abs()
411 return (*sys_rdl)(((u32)segment << 4) + offset); in fetch_data_long_abs()
426 uint offset, in store_data_byte() argument
431 x86emu_check_data_access((u16)get_data_segment(), offset); in store_data_byte()
433 (*sys_wrb)((get_data_segment() << 4) + offset, val); in store_data_byte()
448 uint offset, in store_data_word() argument
453 x86emu_check_data_access((u16)get_data_segment(), offset); in store_data_word()
455 (*sys_wrw)((get_data_segment() << 4) + offset, val); in store_data_word()
470 uint offset, in store_data_long() argument
475 x86emu_check_data_access((u16)get_data_segment(), offset); in store_data_long()
477 (*sys_wrl)((get_data_segment() << 4) + offset, val); in store_data_long()
493 uint offset, in store_data_byte_abs() argument
498 x86emu_check_data_access(segment, offset); in store_data_byte_abs()
500 (*sys_wrb)(((u32)segment << 4) + offset, val); in store_data_byte_abs()
516 uint offset, in store_data_word_abs() argument
521 x86emu_check_data_access(segment, offset); in store_data_word_abs()
523 (*sys_wrw)(((u32)segment << 4) + offset, val); in store_data_word_abs()
539 uint offset, in store_data_long_abs() argument
544 x86emu_check_data_access(segment, offset); in store_data_long_abs()
546 (*sys_wrl)(((u32)segment << 4) + offset, val); in store_data_long_abs()
793 int offset = 0; in decode_sib_address() local
799 offset = M.x86.R_EAX; in decode_sib_address()
803 offset = M.x86.R_ECX; in decode_sib_address()
807 offset = M.x86.R_EDX; in decode_sib_address()
811 offset = M.x86.R_EBX; in decode_sib_address()
815 offset = M.x86.R_ESP; in decode_sib_address()
822 offset = displacement; in decode_sib_address()
827 offset = M.x86.R_EBP + displacement; in decode_sib_address()
832 offset = M.x86.R_EBP + displacement; in decode_sib_address()
838 offset = M.x86.R_EAX; in decode_sib_address()
842 offset = M.x86.R_ESI; in decode_sib_address()
846 offset = M.x86.R_EDI; in decode_sib_address()
851 offset += decode_sib_si(ss, index); in decode_sib_address()
852 return offset; in decode_sib_address()
879 unsigned offset; in decode_rm00_address() local
899 offset = fetch_long_imm(); in decode_rm00_address()
900 DECODE_PRINTF2("[%08x]", offset); in decode_rm00_address()
901 return offset; in decode_rm00_address()
933 offset = fetch_word_imm(); in decode_rm00_address()
934 DECODE_PRINTF2("[%04x]", offset); in decode_rm00_address()
935 return offset; in decode_rm00_address()
982 int offset = decode_sib_address(1); in decode_rm01_address() local
985 return offset + displacement; in decode_rm01_address()
1071 int offset = decode_sib_address(2); in decode_rm10_address() local
1074 return offset + displacement; in decode_rm10_address()