LC-3 ==== R0 - R7 registers .orig x3000 ; code .end ; ; Program to multiply a number by the constant 6 ; .ORIG x3050 LD R1,SIX LD R2,NUMBER AND R3,R3,#0 ; Clear R3. It will ; contain the product. ; The inner loop ; AGAIN ADD R3,R3,R2 ADD R1,R1,#-1 ; R1 keeps track of BRp AGAIN ; the iterations ; HALT ; NUMBER .BLKW 1 SIX .FILL x0006 ; .END