Question

12 bit register (signed) int Show Our Work 1. Qty? 2. range 3. Store Fl: 97. F2:- 326 Fl + F2:7 6. Convert dts from # #5 topls ignore 1 and 2

The problem lists the decimal value, but registers store binary numbers so you will need to convert them to binary

You will also need to do the 2's complement method on the negative value.

thank you

0 0
Add a comment Improve this question Transcribed image text
Answer #1

step3: F1: (000001100001)2 // In 2's cpmplement // (97)10


step4: F2: (111010111010)2 // In 2's cpmplement // (-326)10


step5: F1 + F2 // addtion

F1: (0 0 0 0 0 1 1 0 0 0 0 1)2
F2: (1 1 1 0 1 0 1 1 1 0 1 0)2
---------------------------------------
(1 1 1 1 0 0 0 1 1 0 1 1 )2

(111100011011)₂ // Result in  2's cpmplement

((-1) × 2¹¹) +(1 × 2¹⁰)+(1 × 2⁹)+(1 × 2⁸)+(0 × 2⁷)+(0 × 2⁶)+(0 × 2⁵)+(1 × 2⁴) +(1 × 2³)+(0 × 2²)+(1 × 2¹)+(1 × 2⁰)

-2048+1024+512+256+0+0+0+16+8+0+2+1

-2048+1819

-229

step6: convert into octal  

(111100011011)₂

(111 100 011 011)₂ // make group of 3 bits for octal

(7 4 3 3)8

step7: convert into Hexadecimal

(111100011011)₂

(1111 0001 1011)₂ // make group of 4 bits for hexadecimal

(7 1 B )16

step8: convert into decimal

(111100011011)₂ // Result in  2's cpmplement

((-1) × 2¹¹) +(1 × 2¹⁰)+(1 × 2⁹)+(1 × 2⁸)+(0 × 2⁷)+(0 × 2⁶)+(0 × 2⁵)+(1 × 2⁴) +(1 × 2³)+(0 × 2²)+(1 × 2¹)+(1 × 2⁰)

-2048+1024+512+256+0+0+0+16+8+0+2+1

-2048+1819

-229 // decimal

Note:

  • Binary number always stored in computer in 2's cpmplement format.
  • we can store the final result into 12 bit Register (sign magnitute format)
  • (1 00011100101)₂
  • 12 bit Register (sign magnitute format) // First bit indicate sign and remaining bit indicate magnitute

Register = (1 00011100101)₂ // -229

Add a comment
Know the answer?
Add Answer to:
pls ignore 1 and 2 The problem lists the decimal value, but registers store binary numbers...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal...

    1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal number 236.7510 to binary,octal, and hexadecimal numbers. 3. Add the following two binary numbers: 100111102 and 011110112. Remember to show any carries that are generated along the way. 4. Repeat the previous question, but this time subtract the second binary number from the first. Remember to show any borrows that are required along the way. 5. Determine the encoding of the decimal number 28610...

  • ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex...

    ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex a b. Convert 0xDI (hexadecimal) to binary and to decimal c. Convert Ob11001001 (binary) to hex and to decimal 2. Find the 2's complement of the following 4 bit numbers a 1101 b 0101 3. Perform the following 4 bit unsigned operations. For each, indicate the 4-bet result and the carry bit, and indicate if the answer is correct or not a. 5+8 b....

  • 2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers.

    2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...

  • 1.Convert the following decimal and binary numbers into signed integer 32-bit representation (2’s complement for negative...

    1.Convert the following decimal and binary numbers into signed integer 32-bit representation (2’s complement for negative numbers). -99

  • 1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii)...

    1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii) signed number. (a) 11010110, (b) 01011101 Express the following decimal numbers in 6-bit 2's complement representation: (a) -27, (b) 6, (c)-13, (d) -47 - 4. Convert decimal numbers 83 and 101 to 8-bit unsigned binary number. Find the sum and difference (with addition approach) of these two numbers.

  • (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the...

    (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the left of the decimal point and 3 to the right. a.      What is the range of the expressible numbers?    b.      What is the precision?    c.       What is the error?    ______________________________________________________________________________   (3 pts) Convert this unsigned base 2 number, 1001 10112, to each base given below   (Note: the space in the binary string is purely for visual convenience) Show your work. Using...

  • 1 to 15 blanks thank you! (1 point) For registers, Integers are encoded in one of...

    1 to 15 blanks thank you! (1 point) For registers, Integers are encoded in one of two basic types 1. and 2. (1 point) The number 201 as a one byte unsigned integer is represented as in binary and in hexadecimal. (1 point) The 2 methods for representing signed integers are 3. and (5 points) What is the 16 bit representation of -125 in 2's complement notation? 4. (5 points) What is the decimal representation of the signed integer 10000001?...

  • High-level computer languages are created to be understood by humans. As a result, the keywords and...

    High-level computer languages are created to be understood by humans. As a result, the keywords and the commands of these languages are easy to understand. Machine languages are harder to understand and operate. For this assignment, you should assume that the memory cells at addresses F0 to F9 are in the machine described in FIGURE 1, and that it contains the hexadecimal bit patterns described in the following table. Note: Each memory address contains 2 values that must be used...

  • 1. (10 points) We want to compare the numbers 3 and -6. Using 4-bit signed 2's complement numbers, show how we can use the process of binary addition to calculate a result that will tell us how t...

    1. (10 points) We want to compare the numbers 3 and -6. Using 4-bit signed 2's complement numbers, show how we can use the process of binary addition to calculate a result that will tell us how these two numbers compare. (Just show the calculation here. The next part will be the interpretation of the result.) Now briefly explain how this result can be interpreted by a hardware circuit to indicate how the two numbers compare. (You don't need to...

  • third photo is problem 8 pt 2. anything would help please Problem 7 (15pts) Convert this...

    third photo is problem 8 pt 2. anything would help please Problem 7 (15pts) Convert this following pseudo-code in high level language into a piece of an assembly code (NIOS 2). In the following pseudo-code in high level language, r4, r5, r6, and r10 represent registers 4,5, 6, and 10, respectively Consider this pseudo-code in high level language: If ! (r4 >r5 or rs <r6) r10=r10+1 else r10- r10-1 This becomes the following piece in assembly code (put you answers...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT