Mon, 7 Oct 2019, 23:09 Re: Question regarding Programming Assignment 1



A student writes:

On Mon, Oct 07, 2019 at 11:04:22PM -0500
> Hello, Professor Patt! I hope you are having a nice evening thus far! I
> have a question regarding our first Programming Assignment, specifically
> the first of the two parts: Are we to assume that the shift amount that
> will be applied to the initial bit pattern will always be within the range
> of 0 to 16, or does there need to be some sort of check implemented in the
> program that will end it if the shift amount is outside that range? Thank
> you!

Good question!  In robust programming, you should check to be sure someone
did not screw things up by making the shift amount some absurd number.
However, there are so many things I want you to learn this semester that
I can not get into robust programming also.  So, you can assume that 
memory location x3101 contains a value from 0 to 16.

For your information, I am also going to send you email later tonight I hope
with some more items that you might find useful.

Good luck with getting the program in on time Wednesday night.


Yale Patt