Quiz 2 Within 15 minutes, answer the following questions based on Listing 1. Listing 1 1 2 3 4 5 6 7 8 9 ORG START: NEXT
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Quiz 2 Within 15 minutes, answer the following questions based on Listing 1. Listing 1 1 2 3 4 5 6 7 8 9 ORG START: NEXT
questions based on Listing 1. Listing 1 1 2 3 4 5 6 7 8 9 ORG START: NEXT: Izhal bin Abdul Halin $1000 MOVE.B # $01, DO ROL.B #$01, DO CMP.B #08, DO BEQ NEXT END (a) What is a condition code in general? [3 marks] (b) Describe how does the instruction in line 8 function. [3 marks] (c) What is the condition code for the instruction in line 8? [1 marks] (d) How many times will the instruction in line 7 be executed? [2 marks] (e) What is final value in DO when the program in Listing 1 finishes execution? [1 marks] [Grand total = 10 marks]
Quiz 2 Within 15 minutes, answer the following