How can I use Bochs to run Assembly code?
I want to use Bochs as an 8086 emulator. Is there an easy way to do this? What I want is something like emu8086 ( http://www.emu8086.com/ ). asveikau If the initial part of your program fits in 512 bytes, and you don't mind restricting yourself to BIOS calls, in / out instructions, and writing to magic memory locations for I/O... Then yes! Assuming you're using NASM, here's a goofy example... (Warning: my 16-bit assembly skills are not very great and kind of rusty, so it might not be the best code.) [org 7c00h] ; BIOS will load us to this address mov ax, 0b800h ; Console memory is at 0xb8000;