assembly - Cairo library arguments format -
what format of cairo functions arguments. mean coordinates , color rgba arguments.
i want use assembly language, c/c++ types not suitable.
is 32bit floating point format?
also, if "double" 64bit - next question calling convention - how in 32bit stack, 64bit arguments passed?
calling conventions vary across different operating systems , different platforms. example, x86 uses stack-based arguments, whereas x86-64 uses register-based arguments.
as pushing 64-bit value onto 32-bit stack, you'll need push 2 halves separately - since x86 little-endian push-down stack, you'll need push upper-32 bits first, followed lower-32 bits.
to sure, though, can write small c function calls library function in question, compile assembly, , see how handles arguments.
Comments
Post a Comment