You are on page 1of 45

Colegio de San Juan de Letran

College of Engineering and


Information Technology

DATA TRANSFER GROUP


INSTRUCTIONS

Name: DELA CRUZ, MICO S.


Subject/Section: COMP421 / 4ECE
Date: MARCH 8, 2017
T.H. QUIZ – FINALS
3.4.1 Data Transfer Group
1. MVI r, data (8)

2. MVI M, data (8)


3. MOV rd, rs

4. MOV M, rs
5. MOV rd, M

6. LXI rp, data (16)


7. STA addr

8. LDA addr

9. SHLD addr
10. LHLD addr

11. STAX rp
12. LDAX rp

13. XCHG
After running the program:

3.4.2 Arithmetic Group


1. ADD r

Upon compiling and running the program:

2. ADD M
Upon compiling and running the program:

3. ADI data (8)


Upon compiling and running the program:

4. ADC r
Upon compiling and running the program:

5. ADC M
Upon compiling and running the program:

6. ACI data (8)


Upon compiling and running the program:

7. DAD rp
Upon compiling and running the program:

8. SUB r
Upon compiling and running the program:

9. SUB M
Upon compiling and running the program:

10. SUI data (8)


Upon compiling and running the program:

11. SBB (r)


Upon compiling and running the program:

12. SBB M
Upon compiling and running the program:

13. SBI data (8)


Upon compiling and running the program:

14. DAA
Part I
Upon compiling and using step function:

Next step:
Part II

Upon compiling and using the step function:


Next step:

15. INR r
Upon compiling and running the program:

16. INR M
Upon compiling and running the program:

17. INX rp
Upon compiling and running the program:

18 DCR r
Upon compiling and running the program:

19. DCR M
Upon compiling and running the program:

20. DCX rp
Upon compiling and running the program:

3.4.3 Logic Group


1. ANA r

Upon compiling and running the program:

2. ANA M
Upon compiling and running the program:

3. ANI data
Upon compiling and running the program:

4. XRA r
Upon compiling and running the program:

5. XRA M
Upon compiling and running the program:

6. XRI data
Upon compiling and running the program:

7. ORA r
Upon compiling and running the program:

8. ORA M
Upon compiling and running the program:

9. ORI data
Upon compiling and running the program:

10. CMP r
Upon compiling and running the program:

11. CMP M
Upon running and compiling the program:

12. CPI data


Upon compiling and running the program:

13. STC
Upon compiling and running the program:

14. CMC
Upon running and compiling the program:

15. CMA
Upon compiling and running the program:

You might also like