Page 1 of 1

18. Refer to the below program for questions A-D: Program to multiply a number by the constant 6 ORIG X3050 LD RI, SIX L

Posted: Fri May 20, 2022 3:45 pm
by answerhappygod
18 Refer To The Below Program For Questions A D Program To Multiply A Number By The Constant 6 Orig X3050 Ld Ri Six L 1
18 Refer To The Below Program For Questions A D Program To Multiply A Number By The Constant 6 Orig X3050 Ld Ri Six L 1 (25.76 KiB) Viewed 24 times
18. Refer to the below program for questions A-D: Program to multiply a number by the constant 6 ORIG X3050 LD RI, 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 iteration. HALT NUMBER SIX i . BLKW 1 FILL X0006 END a. Identify the instructions (mnemonics for opcodes) in the program b. Identify the labels in the program. c. Identify the registers used in the program,