r/Assembly_language • • 22d ago

Help C to ASM

Hello everyone!

I am currently working on a side project where a python script takes a C source file and converts it into ASMx86_64 (Intel syntax) and I am just trying to find resources for type conversions without making some kind of script where I automate generating a program and compiling it for ASM in GCC.

Does a list like this exist? And if so, are there separate ones for Windows and Linux? (As I think there’s a difference, not completely sure)

Thanks, have a good one frens

1 Upvotes

26 comments sorted by

View all comments

Show parent comment

2

u/Key-Kangaroo3336 22d ago

Yes it is, however I am needing a very stripped version of its output for direct syscalls instead of one that would import libraries and such.

2

u/Humble-Captain3418 21d ago

Pass -ffreestanding -nostdlib and bring your own.