quiz3_sol - CS 061 Computer Organization Quiz 3 Tuesday...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 061 – Computer Organization Winter - 2012 Quiz 3 – Tuesday 10/18 solution 1. Given that the ASCII codes for 'A' through 'Z' are x41 through x5A; and the codes for 'a' through 'z' are x61 through x7A: which of the following operations would force the character stored in R0 to lower case - i.e. convert a character stored in R0 from upper case into lower case, or preserve the case if it was lower case already.(so ‘A’ would become ‘a’, and ‘a’ would remain unchanged). Note: the LC-3 stores ASCII characters in the lower ("right-hand") byte of a 16-bit word, with the upper byte set to zero. a. and R0 with x0020 b. or R0 with x0020 c. xor R0 with x0020 d. and R0 with x005F e. or R0 with x005F f. and R0 with x004F 2. Simplify the Boolean expression: a.b’.c’.d + a.b’.c.d + a.b.c’.d + a.b.c.d’ + a.b.c.d a. a.b.c + a.b.d + b.c.d b. a.c + a.b.d c. a.c + b.d + b.c d. a.d + a.b.c e. can’t be simplified 3. What is the simplified logic expression for the truth table shown here, in the form Out = f(A, B, C)?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/15/2012 for the course CS 61 taught by Professor Brianlinard during the Winter '12 term at UC Riverside.

Page1 / 2

quiz3_sol - CS 061 Computer Organization Quiz 3 Tuesday...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online