Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 a) Convert 0x9D7A to binary. b) Convert 0b11010011011011100111 to hexadecimal. c) Convert 725,, to binary. d) Convert 0b1000111001 to decimal. e) Convert 1789,o to
1 a) Convert 0x9D7A to binary. b) Convert 0b11010011011011100111 to hexadecimal. c) Convert 725,, to binary. d) Convert 0b1000111001 to decimal. e) Convert 1789,o to hexadecimal. f Convert 0x25AE to decimal. a) Give the truth table (with columns for each sub-formula) for: (ac + abc) -(ab + b). b) Draw a circuit for: (acabc) (ab + b) 2 3) Given: X a) Convert X and Y to 8-bit binary numbers. b) Compute the 8-bit sum X-Y of X and Y c Compute Y the 8-bit two's complement of Y d) Compute the 8-bit difference X-Y ofX and Y. (Use two's complement addition.) e) Convert X+Y, Y, and, X-Y to hexadecimal. f) What are the values of the condition flags upon computing X+Y? g) What are the values of the condition flags upon computing X-Y? h) TorF The unsigned 8-bit sum X+Y is honest. i) TorF The signed 8-bit sum X+Y is honest. j TorF The unsigned 8-bit difference X Y is honest. k) TorF The signed 8-bit difference X-Y is honest. 0xD7 and Y = 0x4B. 4) Use the recipe for designing combinational circuits to design a circuit that determines if a 3 bit unsigned integer is prime. (Remember: an integer N is prime if, and only if, exactly 2 distinot positive numbers, 1 and N itself, divide N with a remainder of o.) a) Draw a black box for the circuit that specifies its inputs and output. of this circuit with a Construct the boolean formula corresponding to the truth table. d) Draw the circuit corresponding to the boolean formula. 5 a) What does a multiplexer do? b) Draw the circuit for a 2-way multiplexer c) Build (draw) a 4-way multiplexer using 1-bit multiplexers 6) For each row in the following table, determine whether the assertion would hold if the indicated operation produced the indicated condition flag values. operation A + B unsigned ZNCV result is honest A - B signed ZNCV result is honest A - B unsigned ZNCV result is honest A+ Bsigned ZNCV result is honest A-B | unsigned NCV | A > B ags assertion T/F A-B | unsigned NCV | A = B A B | signed ZNCV| A B A-B | unsigned NCV | A
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started