A small assembler to practice x86

Emulation of old PCs, PC hardware, or PC peripherals.

A small assembler to practice x86

Postby cookertron » 2019-8-26 @ 15:25

Hi Vogons,

Does anyone know of a small windows desktop program that can allow me to create a bit of x86 assembly language, run it and see how the registers are effected? It would help if it emulated a bit of memory too.

I have Turbo Debugger but I can't create code on the fly, well not without writing over actually memory.

Thank you

Anthony
cookertron
Newbie
 
Posts: 7
Joined: 2017-8-07 @ 22:01

Re: A small assembler to practice x86

Postby superfury » 2019-8-28 @ 05:16

You can take UniPCemu, put it's debugger in single-step mode, then use nasm to compile a BIOS and copy it to the ROM directory, then run UniPCemu and observe the code executing by pressing numpad 2?

Afaik a compiler that allows for assembly machine code to be changed on the fly doesn't exist yet? I've never seen one at least.
superfury
l33t
 
Posts: 3206
Joined: 2014-3-08 @ 11:25
Location: Netherlands

Re: A small assembler to practice x86

Postby danoon » 2019-8-28 @ 16:02

It's not a "small windows" program, but its free. You can use the MSVC community, in a 32-bit program you can inline asm (64-bit doesn't allow inline asm) and see the values for the registers as you step through. I do this a lot in my unit tests to make sure the actual asm on hardware matches what I do in my emulator.
danoon
Member
 
Posts: 149
Joined: 2011-1-04 @ 19:12


Return to PC Emulation

Who is online

Users browsing this forum: Google [Bot] and 1 guest