darijanrijan/ctoassembly

Assembly longs support

Closed this issue · 2 comments

Why can't it compile code using the long type?...

Hi Donno,

Since the compiler is built for demonstration purposes, only the minimal set of C types and operations is implemented. Long type is sadly not supported. Here you can see what is supported: http://ctoassembly.com/microc.html

Oh, thanks!
I honestly just typed in the address bar c to assembly to see if there are any special steps required to use longs in assembly without actually learning anything 🙄 ...
Anyway, this is an awesome project.