Topic : Pure Assembler Documentation Author : John Kormylo Version : PASM.HYP 1.0 Subject : Documentation/Pure Assembler Nodes : 740 Index Size : 20262 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ max.size ] /* ****************************************************************** MACRO max.size first,second Puts the larger of 'first' and 'second' into D0. max.b #'a',#'b' ;will put 'b' into D0 max.w #0,x ;will put variable x into D0 if x>0 max.l A1,A2 ;will put the larger of A0 or A1 into D0 ****************************************************************** */ MACRO max.size first,second LOCAL skip MOVE.size first,D0 CMP.size second,D0 BGT skip MOVE.size second,D0 skip: ENDM