A powerfull crossplatform(Windows/Linux) assembly macro library, that adds many cool features to assembly:
- Crossplatform function macro (x64 ABI);
- "for", "while", "if" support;
- Local variables;
- Support for C structs (padding, etc...);
- Slices;
...
%include "include/win32.asm" ; or "include/linux.asm"
...
fn main, 0
mov rax, 1337
fnCall printf, testStr, rax
return(0)
endfn
section .data
STR(testStr, `Hello world! %d\n`) ; also defines variable testStr_size = 15...
%include "include/win32.asm"
...
fn main, 0
log `Hello world! %d\n`, 1337
return(0)
endfn