Question: [3] The program shown below divides by shift, divides the data at address DX2 by 8, and finds the quotient in GR1 and the remainder
[3] The program shown below divides by shift, divides the data at address DX2 by 8, and finds the quotient in GR1 and the remainder in GR2. Refer to the flowchart and fill in the blanks.
start 19 Address data Dx2 GR1 WARU START LD GRI, DX2 LAD GR3, 0, GR1 (Preform 3 Arithmetic shifts to the GR1-8-GR1 (GR13 ) ST LD GR3, WRK GR2, DX2 right of GRI) RET GR1-GR3 FIN DX2 WRK DC 20 1 DS END GR3 X 8- GR3 (GR33 ) ) (preform 3 Arithmetic Shits to the left of GR3) address GR3-WRK F1 saddress daba DX2 GR2 address data GR2 - WRK -GR2 (D) Reminder #T
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
