Professional Documents
Culture Documents
Delacruz QF
Delacruz QF
4. MOV M, rs
5. MOV rd, M
8. LDA addr
9. SHLD addr
10. LHLD addr
11. STAX rp
12. LDAX rp
13. XCHG
After running the program:
2. ADD M
Upon compiling and running the program:
4. ADC r
Upon compiling and running the program:
5. ADC M
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:
12. SBB M
Upon compiling and running the program:
14. DAA
Part I
Upon compiling and using step function:
Next step:
Part II
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:
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:
13. STC
Upon compiling and running the program:
14. CMC
Upon running and compiling the program:
15. CMA
Upon compiling and running the program: