Assembly Language
Assembly Language. Count a sequence of numbers. . ORIG x3000 AND R1,R1,x0 ; clear R1, to be used for the running sum AND R4,R4,x0 ; clear R4, to be used as a counter ADD R4,R4,xA ; load R4 with #10, the number of times to add
235 views • 9 slides