Question

a. What is the result (in hex) of 0x7F and’d with 0x3A? (and gate) b. What...

a. What is the result (in hex) of 0x7F and’d with 0x3A? (and gate)

b. What is the result (in hex) of 0x5A xor’d with 0x9F? (xor)

Homework Answers

Answer #1
Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111

a)
0x7F => 0111 1111
0x3A => 0011 1010

AND Table:
------------
0 0 -> 0
0 1 -> 0
1 0 -> 0
1 1 -> 1

0111 1111
0011 1010
-----------
0011 1010 => 0x3A
-----------

Answer: 0x3A

b)
0x5A => 0101 1010
0x9F => 1001 1111

XOR Table:
------------
0 0 -> 0
0 1 -> 1
1 0 -> 1
1 1 -> 0

0101 1010
1001 1111
----------
1100 0101 => 0xC5
----------

Answer: 0xC5
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
What are a few real world examples of an XOR gate? For example a light bulb...
What are a few real world examples of an XOR gate? For example a light bulb controlled by two separate switches.
In altera Max 7000 macrocell explain the purpose of XOR gate and different multiplexers
In altera Max 7000 macrocell explain the purpose of XOR gate and different multiplexers
For the following multiplication, write the hex values for the two operands encoded as 7 signed...
For the following multiplication, write the hex values for the two operands encoded as 7 signed numbers and for the result as a 2.14 number: -0.7421875 x 0.8671875 = -0.64361572265625 What is the decimal result of the following multiplication if these hex numbers are signed 2.6 numbers? 0xA4 x 0x70 =
Q3) Implement a 3-input XOR gate using only 4x1 multiplexer and an inverter. Sketch and complete...
Q3) Implement a 3-input XOR gate using only 4x1 multiplexer and an inverter. Sketch and complete a truth table with the correct labels and function solution.
a) I want the answers to the following parts in hex a. What is [A+4]? b....
a) I want the answers to the following parts in hex a. What is [A+4]? b. What is [B+4]? c. What is [D+4] 7) Using one byte of storage (8 bits)or 16 bits if needed, what is the binary two’s complement representation of each of the following decimal numbers? a. -111 b. -126
You are a farmer and you come to a gate in your fence. The gate is...
You are a farmer and you come to a gate in your fence. The gate is 35 kg, 3 m long and rotates about one end. You can model it as a thin rod rotating about one end. What is the moment of inertia of the gate as you push it (in kgm2)? You are a farmer and you come to a gate in your fence. You apply a force of 50 N perpendicular to the length of the gate...
Expand the following numbers using positional notation. a)    21567 DEC b)     FA3E HEX c) 1101011 BIN
Expand the following numbers using positional notation. a)    21567 DEC b)     FA3E HEX c) 1101011 BIN
A student ran this experiment and instead of dropping the hex nut, he threw it. This...
A student ran this experiment and instead of dropping the hex nut, he threw it. This gave the nut a velocity of v(t) = (12 m/s^2)t + 5m/s. What is the hex nut's displacement as a function of time if its position at t=0 seconds is 0 meters? If the hex nut dropped 1.2 meters, how long did it take for the nut to reach the ground?
The gate AB is a quarter of a cylinder of radius R=80cm and length 50cm the...
The gate AB is a quarter of a cylinder of radius R=80cm and length 50cm the gate has hinge through point B the gate supports water that fills up a tank up to the tip of the gate .what is the magnitude of the force F in N needed to hold the gate closed.
Re-write the binary unsigned real number 101010.101 in hex. CAUTION: You will earn NO CREDITS if...
Re-write the binary unsigned real number 101010.101 in hex. CAUTION: You will earn NO CREDITS if you simply show the final result and not clearly show working (i.e., how you group the bits).
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT