Advertisement
5_2007-2008 Complete Applications #186995

C to ASM - a compiler in the development (very early stages)

THis program translates a subset of C into asm, currently, it supports looping (for, while), conditions (if), maths (+,*,-,/), boolean operators (&&, ||), arrays(partly) This outputs asm code that should work, the output is currently generic asm code, without conforming to the rules of any specific asm compiler, but that can be easily taken care of. THis program is written in excel Visual basic, because my version of Visual basic was deleted, and i lost my visual basic installation cd. anyway, you can still run it. TO view the source code, press ALT+F11 to enter a editor, much like the normal VB editor (sorry about that...) Sample Code Translation is below (in the "Windows API section" below):

AI

Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Code source
original-source
Upload
Commentaires originaux (3)
Récupéré via Wayback Machine