homework3_answers

homework3_answers - value into register A. Part...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Answers to Deus Xercises - - - - - - - - - - - - Part I ------ (a) 0, 7, 9 (b) 9 (c) Prints the maximum of the numbers in the input. (d) Instruction 6, "je read", can be removed, because its job is to skip storing the new maximum value into register A before continuing to read input. If the current value read from the input is equal to the current maximum stored in register A, it's harmless to copy the current
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: value into register A. Part II-------(a) My nameis: Sherlock My nameis: Sherlock My nameis: Sherlock [If you added a space between "name" and "is" that's ok.] (b) No. (c) The value in register A would need to be less than zero. (d) A negative number....
View Full Document

This note was uploaded on 02/07/2011 for the course ICS 10 taught by Professor Stasio during the Spring '04 term at UC Irvine.

Ask a homework question - tutors are online