Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, can someone look at these and figure them out? I don't know which ones I got right. 2.6 / 3 pts Question 2 Consider

Hello, can someone look at these and figure them out? I don't know which ones I got right.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

2.6 / 3 pts Question 2 Consider the following 8-bit registers. Evaluate the logical expression at the bottom. a = Ox6B b = Ox99 C = OxE1 Fill the table with the binary equivalent of the expressions in the far-left column. Position 7 down to 4 3 down to o 0110 1011 a = 1001 1001 b = 1110 0001 c = 0111 1000 b XOR c = a & (b XOR c) 0110 1000 = 1001 0111 (a & (b XOR c)) = Final result 1001 0111 (n(a & (b XOR c))) >>> 3 = Ox 12 (No need to use Ox) Question 3 2/3 pts Consider the following sets of secret operations. For each set of operations, determine if they are masking ON or masking OFF, and determine the masking pattern for each set of operations. . Note that each set of operations contains TWO groups of input and output patterns. Use the TWO groups of input and output patterns to determine the masking pattern used in this set. When fill the masking pattern, use x (lower-case English letter) to indicate a bit can be either 0 or 1. See the following example. o 1x01 means both 1101 and 1001 can be used as the masking pattern, 11xx mean the masking pattern can be one of 1100, 1101, 1110, and 1111. Set i. Position 7 down to 4 3 down to o Group #1 Input 1010 0011 Group #1 Output 1010 1111 Group #2 Input 0110 0100 Group #2 Output 1110 1101 Mask ON 10x0 1101 (fill ON or OFF) en ni the masking pattern, use x lower-case English letter) to indicate a bit can be either 0 or 1. See the following example. o 1x01 means both 1101 and 1001 can be used as the masking pattern, o 11xx mean the masking pattern can be one of 1100, 1101, 1110, and 1111. Set i. Position 7 down to 4 3 down to O Group #1 Input 1010 0011 Group #1 Output 1010 1111 Group #2 Input 0110 0100 Group #2 Output 1110 1101 Mask ON 10x0 1101 (fill ON or OFF) Set ii. Position 7 down to 4 3 down to O Group #1 Input 0110 0110 Group #1 Output 0111 1110 Group #2 Input 1100 1111 Group #2 Output 1111 1111 Mask ON 1x11 1xx0 Question 4 1.5 / 3 pts For each requirement below, choose an appropriate masking operation and give the most accurate 32-bit masking pattern in hexadecimal representation (write in groups of 4 digits). See the Sample row as an example. Requirement Masking on/off (fill on or Masking Pattern off) Preserve the bit at Sample position O while forcing off Os at all other positions. Ox0000 0001 on Ox0000 0011 i. Ox1000 0000 ii. Preserve the bits at positions 31 ~ 6 while forcing 1s at all other positions. Preserve the bit at position 31 while forcing off Os at all other positions. Preserve the bits at even positions (0, 2, 4, ...) while forcing 1s at all other positions. on Ox 10101010

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions