Question

(8%) For a 8-bit sequence is 1101 0111. What is its content if it represents (a)...

  1. (8%) For a 8-bit sequence is 1101 0111. What is its content if it represents (a) two decimal digits in BCD? (b) two decimal number in the Excess-3 code? (c) an 8-bit unsigned number? (d) an 8-bit signed number?

Homework Answers

Answer #1

a)

The BCD equivalent of 1101 = 0011

The BCD equivalent of 0111 = 0111

Hence, the equivalent decimal digits are:

37

b)

1101 + 0011 = 10000 = 1610

0111 + 0011 = 1010 = 1010

Hence, the equivalent decimal numbers are:

16 10

c)

= 1 * 27 + 1 * 26 + 0 * 25 + 1 * 24 + 0 * 23 + 1 * 22 + 1 * 21 + 1 * 20

= 128 + 64 + 16 + 4 + 2 + 1

= 21510

d)

Here, the first bit (Most significant bit) is 1, this means that the number is negative.

Magnitude = 10101112

= 1 * 26 + 0 * 25 + 1 * 24 + 0 * 23 + 1 * 22 + 1 * 21 + 1 * 20

= 64 + 16 + 4 + 2 + 1

= 8710

Hence, the equivalent signed decimal number = -87

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
Given a 8 bit binary sequence 01111001, show the decimal number it represents in unsigned integer,...
Given a 8 bit binary sequence 01111001, show the decimal number it represents in unsigned integer, sign-magnitude, one's complement, two's complement and execess-127.
Design a module that can perform a binary-coded decimal (BCD) addition. You have two 4-bit BCD...
Design a module that can perform a binary-coded decimal (BCD) addition. You have two 4-bit BCD (decimal digits 0 to 9) inputs “a” and “b” and an 8-bit output “x” which represents a two digit BCD number. X [7:4] represents the upper BCD digits X [3:0] represents the lower BCD digits In the Verilog file, please code a BCD adder. It should follow the following format. module bcd_adder( a,b,x ); input wire [3:0] a; input wire [3:0] b; output reg...
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1...
What decimal number does the bit pattern 1101 1011 represent if it is a: • [1 pts] unsigned integer? • [1 pts] sign-magnitude integer? • [1 pts] two's complement integer? Please Explain and Show all work
Express the decimal number (-37)10 as an 8-bit 2's complement binary number. Given the two signed...
Express the decimal number (-37)10 as an 8-bit 2's complement binary number. Given the two signed binary numbers (2's comp.) X = -8 and Y = 14, what is their sum? What is the BCD representation of the decimal value (9371)10?
5) Using a minimum number of digits, what is the encoding for the decimal value 139?...
5) Using a minimum number of digits, what is the encoding for the decimal value 139? a) As an unsigned binary value b) As a BCD binary value c) As a 7 segment code binary value
1. Given Hexadecimal EDCC16 Detail steps are required. 1) What is the binary representation? 2) What...
1. Given Hexadecimal EDCC16 Detail steps are required. 1) What is the binary representation? 2) What is the negation of EDCC in HEX? 3) Convert it to decimal number if this is a 2s-complement signed binary representation in 16- bit register 4) Convert it to decimal number if this is an unsigned binary representation in 16-bit 2. Suppose we have 3 arrays A, B, and C, array A’s base address is in $S3, B’s base address is in $S4, C’s...
1) The decimal equivalent of the unsigned 8-bit hex number 0B4H is ______________. 2) The value...
1) The decimal equivalent of the unsigned 8-bit hex number 0B4H is ______________. 2) The value of the expression ‘H’ – ‘B’ is less than / equal to / greater than that of the expression ‘L’ – ‘C’. If the .data segment contains declarations. A BYTE 2 DUP (‘a’), ‘+’ B BYTE 3 DUP (‘b’), 0 C BYTE 4 DUP (‘c’), ‘–’ D BYTE 5 DUP (‘d’), 0 then the instruction input A, D, 6 will display a Windows dialog...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
Can someone show me the steps on how to solve this? In a 12-bit machine with...
Can someone show me the steps on how to solve this? In a 12-bit machine with page size of 64, we have a physical address of 1011 1101 0011. What is the logical address in decimal format? ( page number, offset)    A) 189, 3 B) 47, 19 --  Correct Answer   C) 23, 83 D) 94, 19
1.What is the 8-bit 2's complement, 1's complement,sign-magnitude representation of 1710? Write your answer in the...
1.What is the 8-bit 2's complement, 1's complement,sign-magnitude representation of 1710? Write your answer in the format 0xHHHH... Where H's are hexidecimal digits. Include leading 0's (zeroes). Write hexidecimal digits, A-F, in capitals. 2.What is the 7-bit 1's complement representation of 10101012? 3.What is the 6-bit sign-magnitude representation of 1001012? Write your answer in decimal. 4.Given that you are working with a 3-bit 2's complement system. What is the additive inverse of -4? That is, -4 + ? = 0...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT