Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

convert c code to assembly 8086

read this stackoverflow question

bcc - Bruce's C compiler

From bcc(1) - Linux man page:

Description

Bcc is a simple C compiler that produces 8086 assembler, in addition compiler compile time options allow 80386 or 6809 versions. The compiler understands traditional K&R C with just the restriction that bit fields are mapped to one of the other integer types.

The default operation is to produce an 8086 executable called a.out from the source file.

Open Watcom

From the description of compiler option / 80x86 run-time convention 0 in Open Watcom C/C++ User’s Guide (PDF link):

(16-bit only) The compiler will make use of only 8086 instructions in the generated object code. This is the default. The resulting code will run on 8086 and all upward compatible processors. The macro __SW_0 will be predefined if "0" is selected
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #code #assembly
ADD COMMENT
Topic
Name
9+6 =