Assembly code from watcom and borland

Programming, for all ages and all languages.
Post Reply
hiddenmind

Assembly code from watcom and borland

Post by hiddenmind »

Hi Guru ;D
Can Watcom C/C++ 1.0 and Borland C++ 5.0 produce assembly code.
How to do this in command line?
Please help!!!
Nychold

Re:Assembly code from watcom and borland

Post by Nychold »

I'm not sure about Watcom's compilers, but Borland's should have the capability. Use the flag -S when you compile. Ie:

bcc -S myprog.c

If that gives you an error, then type bcc -h and find the entry which says "Compile to assembly" or something along those lines. Watcom's will probably be similar, if they support compilation to assembly.
hiddenmind

Re:Assembly code from watcom and borland

Post by hiddenmind »

HI Nychold,
Thank u very much!!!
Post Reply