View Single Post
Old 20 December 2020, 14:25   #9
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,631
Quote:
Originally Posted by Antiriad_UK View Post
%0 is the first output value which is “ "=g"(mask)”. And “mask” is the C variable name at the top of the function.

IIRC the numbers stack. So if you had 1 output value and 2 input values they would be %0 %1 and %2

It's also possible to use named arguments in place of %0, %1, etc:
Code:
"move.b mt_VUMeter,%[msk]\n"
: [msk] "=g" (mask)
hooverphonique is offline  
 
Page generated in 0.05405 seconds with 11 queries