Click here to Skip to main content
15,309,756 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi all

Does anyone if it is possible to convert C source code into 16-bit 8086 assembly (for use with EMU8086)?

Thanks

What I have tried:

Tried using the assembly code emitted by Visual Studio but it is 32-bit and won't work.
Posted
Updated 7-Feb-22 6:39am

1 solution

Did you see this: Is there a C compiler that targets the 8086? - Stack Overflow[^]?
You may also choose to translate yourself the C program (if it is a simple one).
   
Comments
[no name] 12-May-18 15:51pm
   
Thanks for the input. I've installed Watcom but don't know how to make it output the assembly code into a separate file.
CPallini 12-May-18 16:08pm
   
I am not able to find an option for that. However there should be a disassembler tool.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900