14 ms·
Interesting how he uses the C preprocessor as an Assembly preprocessor; cpp as a general purpose macro processor. Maybe this is more portable than using assemb
by 1vuio0pswjnm7 5y ago
Interesting how he uses the C preprocessor as an Assembly preprocessor; cpp as a general purpose macro processor. Maybe this is more portable than using assembler built-in macro features that vary from assembler to assembler
- Denvercoder9 5y ago> Interesting how he uses the C preprocessor as an Assembly preprocessor It's actually a fairly common pattern, both ffmpeg and the Linux kernel do this for example.
- saagarjha 5y ago#include <sys/syscall.h> is generally the easiest way to make a syscall without hardcoding numbers into your assembly program.