emu: factor out utils into own module

This commit is contained in:
2021-03-12 02:27:00 -08:00
parent 27bc36f9d2
commit ac7b3b16a1
7 changed files with 45 additions and 37 deletions

View File

@@ -1,8 +1,9 @@
use emu::byteorder::{ByteOrder, LittleEndian};
use emu::dos;
use emu::i8088::{i8088, segoff_to_addr};
use emu::i8088::i8088;
use emu::operands::{Address, LValue, Reg, RValue};
use emu::pc::Bus;
use emu::util::segoff_to_addr;
pub fn show(cpu: &mut i8088) {
println!("{:#X?}", cpu);