Jason Labar
2005-04-27 01:32:58 UTC
Is there a typo in the sample output for lab1? The output after the sub
instruction seems to be wrong to me. You're basically doing 3 - 7 which
equals -4, but the sample output shows 0xFE in ACC. But, 0xFE isn't -4 in
2's compliment, 0xFC is. Is this a typo, or am I just missing something?
When I run my program I keep getting 0xFC where I should be getting 0xFE
according to the sample output.
instruction seems to be wrong to me. You're basically doing 3 - 7 which
equals -4, but the sample output shows 0xFE in ACC. But, 0xFE isn't -4 in
2's compliment, 0xFC is. Is this a typo, or am I just missing something?
When I run my program I keep getting 0xFC where I should be getting 0xFE
according to the sample output.