Question: please answer number 5,6,7,8 Middle Technical University Digital Controller Lab Electrical Engineering Technical College Third Stage Electrical Power Technical Engineering Dept. Mohammed D. Altumemi Step
Middle Technical University Digital Controller Lab Electrical Engineering Technical College Third Stage Electrical Power Technical Engineering Dept. Mohammed D. Altumemi Step 11: CX- 3-4 Discussion: 1. In program above in step 3, what is the mode of addressing? Explain briefly what is instruction doing? 2. In program above in step 4, what is the mode of addressing? Explain briefly what is instruction doing? 3. In program above in step 5, what is the mode of addressing? Explain briefly what is instruction doing? 4. In program above in step 7, what is the mode of addressing? Explain briefly what 5. In program above in step 8, what is the mode of addressing? Explain briefly what is instruction doing? 6. In program above in step 10, what is the mode of addressing? Explain briefly what is instruction doing? 7. In program above in step 11, what is the mode of addressing? Explain briefly what is instruction doing? 8. Execute the following program, and then record the new values of variables DI. and D2 after executing. .MODEL SMALL DATA DI DE DAH.OEH.OCHODH.DEH D2 DB 10 DUPID) -CODE MOV Ax.@DATA: INITIALIZE THE DATA SEGMENT MOV DS, AX LEA SI, D1 : LOAD OFFSET ADDRESS OF DI IN S LEA DI D2 : LOAD OFFSET ADDRESS OF D2 INDI MOV EX. 05 : LOAD CX WITH COUNT UP: MOV AL, SO: MOVE THE IST ELEMENT OF DI TO AL MOV (O). AL : MOVE TO D2 INC SI ; INCREMENT SI INC DI : INCREMENT DI DEC EX: DECREMENT THE COUNTER JNZ UP: REPEAT TILL CX BECOMES ZERO HLT END cering
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
