I have managed to make good progress on this question, but when I get to Note 4 part 3 on the approach to implement the solution, it says that if the instruction has an address value, this is to be displayed as a 2-digit hex value, yet in the example of B7 as input, the last 5 digits are 10111 = [23] decimal. Should this not then be [17] in hex?
With regard to the above, I spoke to the lecturer, and he says that it is a mistake. the MOV AL,[23] should actually be MOV AL,[17] the 17 being hex for decimal 23.
I guess both might be marked as being correct. But the example given didn't make sense if you followed it through, so maybe they will pick up on the mistake.
What do you mean the example didn't make sense if you followed it through? The example show one thing the question asks another thing that makes it 50% either way. You have to decide whether the question is wrong or the example is wrong.
The example was given to help understanding of the question asked, but they didn't tie up. That is what I meant. I didn't care about trying to decide which is wrong or right. Obviously the lecturer had made a mistake, which although very inconvenient for the students, he apologised for. Hence me saying that they would probably both be marked right, but I don't decide. Phone him if you want to know more.