loop blt inc num max be end 0 0 inc add num num amt be loop 0 0 end halt max .data 10 num .data 0 amt .data 1