Uploaded by nihar.ripah.edu.pk

assignment no 2 coal lab

advertisement
Fall 2020
19-11-2020
Computer Organization & Assembly Language (LAB)
Assignment 2
Total points = 10
Due Wednesday Dec 02, 2020
1. To submit your assignment in Moellim before due date, when due date is passed
assignment link will be disabled automatically.
2. Submit assignment in .asm format
Question 1.
In lab 8 we discussed comparison opcodes, write example assembly code for each of
the following comparison opcodes. (Note: you have to write 5 example codes with different
logic implemented)
JNE, JB, JLE, JG, JAE
Download