NO

Author Topic: Assembler?  (Read 4863 times)

Muhammed

  • Guest
Assembler?
« on: July 24, 2008, 03:44:42 PM »
Hi!,

I don't know wether this is the correct subforum but:

Is PellesC (the Compiler) able to show me the assembler code of my (c-)source?
I mean not the debugger where (unfortunally) also is the whole "overhead" i mean for loading process, modules etc.

Can you help me?

with friendly greetings

Offline Robert

  • Member
  • *
  • Posts: 245
Re: Assembler?
« Reply #1 on: July 26, 2008, 10:22:28 PM »
Have a look at the /T option in the Pelle's C Help file under the Table of Contents entry "Command line Tools\POCC compiler\Command line options".

/Tx86-asm Creates an assembly text file for a X86 processor.
/Tarm-asm Creates an assembly text file for a ARM processor.
/Tamd64-asm Creates an assembly text file for a X64 processor.

Robert Wishlaw

Grincheux

  • Guest
Re: Assembler?
« Reply #2 on: October 08, 2014, 10:25:20 PM »
I tried with "/Tamd64-asm" but I get this message :
"POLINK: fatal error: Invalid machine type in object 'D:\# Stars #\Project\MyStars\output\7 Cas.obj'.
"

 
CCFLAGS = -std:C11 -Tx64-coff -Zi -Ot -Ox -Ob1 -fp:precise -W1 -Gr -Ze -Zx -Tamd64-asm
 
 
 

czerny

  • Guest
Re: Assembler?
« Reply #3 on: October 09, 2014, 08:18:01 AM »
I tried with "/Tamd64-asm" but I get this message :
"POLINK: fatal error: Invalid machine type in object 'D:\# Stars #\Project\MyStars\output\7 Cas.obj'.
"

 
CCFLAGS = -std:C11 -Tx64-coff -Zi -Ot -Ox -Ob1 -fp:precise -W1 -Gr -Ze -Zx -Tamd64-asm
You have used two conflictive options.