Greater of a and b
Syntaxmax(a,b)
Original Machine Code (in OPER resource) of Filter Factory 3.0 and 3.0.4 for Photoshop/Win32
58 | pop eax (param_b) | . |
59 | pop ecx (param_a) | . |
3B C1 | cmp eax,ecx | . |
7F 02 | jnle +$02 (@@1) | if (param_b > param_a) goto @@1; |
8B C1 | mov eax,ecx | param_b = param_a; |
@@1: | @@1: | |
50 | push eax | return param_b; |