Hi can anyone please tell me,
How to see the assembly code generated from C program??

Recommended Answers

All 6 Replies

Member Avatar for iamthwee

Are you talking about hexedit?

Are you talking about hexedit?

No, not the hexedit.
I want to see the assembly code( ADD, MUL )

What compiler / OS ?

What compiler / OS ?

COSMIC compiler(HC08) / Windows Xp is the operating system

Assuming you are invoking the compiler from the command line, try using the -s option.

As far as I know COSMIC compilers automatically generate assembler output in modulename.s files ( ? )...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.