Submitted By: M Owais Khan
C2ASM is a cross compiler, it converts "C" code into "ASSEMBLY"
code. It uses a subset of "C" language.It's console mode
application.If u wanna read more abt C2ASM, download C2ASM, It
has got complete documentation, source code, sample input
programs of "C".It uses no Object Code Optimizations, Register
Allocaiton Algorithm.It's a very Simple cross compiler. I made
it as my semester project for learning purposes.At the time i
was making it, I got no Practical Help abt how to make
Intermediate Code and do Code Generation.So, I wish my C2ASM
project may help beginner Compiler Writers to get an Idea abt
how to make a complete working compiler from start to finish.
NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our
Number of downloads:
Posted by: S Khubaib Rizvi on Tuesday, July 22, 2003
Good Work,But i hope it would be for the whole C Language.
Posted by: smith on Wednesday, July 23, 2003
really good work
Posted by: hassan on Sunday, August 31, 2003
It's very help ful to new students who are learning compiler construction
a good piece of work
Posted on Monday, September 29, 2003
a good piece of work
Posted on Thursday, October 02, 2003
I couldn't get the cpp to compile cleanly (using Dev-C++) without fixing a couple of things. One was a missing #include <stdio> right at the start, unbelievably. The other was two cases (first at about line 530) of FOR blocks lacking curly braces.
Having fixed those, although it runs the parser fails, even on the most trivial C source code.
I know it was just a student excercise in compiler design, but the idea of C to ASM is a good one. Don't know if IBM's C2 still does this? Would appreciate comments.
its really great and stunning
Posted by: ummara on Thursday, October 30, 2003
its very good and i must say that the creator should keep it up and must do more and more good piece of work like this.GOOD LUCK.
Congratulation on doing good work.
Posted by: Abhishek on Monday, November 03, 2003
This file can be very important for programmers of microcontrollers.Really good work.
Posted by: M Owais Khan on Saturday, December 06, 2003
Respected Friends,Try to read Provided Documentation and Source Code Carefully.And Follow INSTRUCTIONS written there,So that u won't face any problem.
Posted by: Muhammad Akram on Monday, February 16, 2004
Well done Mr.Owais u have work realy hard
its a nice project
iam looking forward for an object oriented approach from u for this project
any way this is a nice project
Posted by: bv on Sunday, February 20, 2005
Just what I was looking for! thanks.
Posted by: Rizwan on Tuesday, October 02, 2007
Really Good Work.
Posted by: Ahmet on Tuesday, December 11, 2007
I just got the code on compiled using Visual studio 2005
everything fine except an error
the error was that an variable was missing
Posted by: Faisal A on Sunday, March 29, 2009
ive been searching the 2 days
straight for a c/c++ to assembly
translator but no luck . Thanks
and great work .
Add Your Rating