Welcome! Log In Create A New Profile

Advanced

Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit

Posted by ShaunGVW 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit
June 25, 2007 07:56PM
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?
Re: Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit
June 27, 2007 03:40PM
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.
Re: Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit
July 02, 2007 08:04PM
Shame.. what about the people that dont know that now ;(
Re: Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit
July 03, 2007 06:50AM
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.
Re: Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit
July 10, 2007 09:12PM
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.
Re: Hex or decimal - Ass 3 Q2is is to be displayed as a 2 digit
July 11, 2007 07:03AM
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.
Sorry, only registered users may post in this forum.

Click here to login