Prelude to Programming
6th Edition
ISBN: 9780133750423
Author: VENIT, Stewart
Publisher: Pearson Education
expand_more
expand_more
format_list_bulleted
Question
Chapter 2, Problem 49RE
Program Plan Intro
a. To find the two’s complement of +5210 using 8-bit memory location.
Program Plan Intro
b. To find the two’s complement of -5910 using 8-bit memory location.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Find the two’s complement of the following decimal integers using an 8-bit memory location or indicate if an overflow condition occurs
a)+5210
b)−5910
49. Find the two’s complement of the following decimal integers using an 8-bit memory location or indicate if an overflow condition occurs
a. +5210
b. −5910
Name:
G#:
Complete the following arithmetic by converting to 2's complement binary. Once you have the
binary answer, convert the answer to decimal. Use as many bits as necessary. You MUST show
your work.
4. 0x76-0d36
5. Od145-0d215
Chapter 2 Solutions
Prelude to Programming
Ch. 2 - Given the number 108, ____________ is the base.Ch. 2 - Given the number 75, _____________ is the...Ch. 2 - When a base is raised to a power of ________, the...Ch. 2 - Prob. 4RECh. 2 - Prob. 5RECh. 2 - Prob. 6RECh. 2 - A floating point number has a(n) ______ part and...Ch. 2 - Prob. 8RECh. 2 - To convert the number 8.396052106 to regular...Ch. 2 - Using exponents, the number 1/1000 is ___________.
Ch. 2 - Prob. 11RECh. 2 - What is the decimal value of the 2 in the...Ch. 2 - Prob. 13RECh. 2 - Prob. 14RECh. 2 - Which of the following is not an integer? a. 5 b....Ch. 2 - Prob. 16RECh. 2 - Prob. 17RECh. 2 - Prob. 18RECh. 2 - Prob. 19RECh. 2 - Prob. 20RECh. 2 - Prob. 21RECh. 2 - To make it easier for a human to read a binary...Ch. 2 - Prob. 23RECh. 2 - Prob. 24RECh. 2 - Prob. 25RECh. 2 - Prob. 26RECh. 2 - The smallest unsigned integer that can be...Ch. 2 - A number system that uses 7 as a base would be...Ch. 2 - Prob. 29RECh. 2 - Prob. 30RECh. 2 - Prob. 31RECh. 2 - Prob. 32RECh. 2 - Prob. 33RECh. 2 - Prob. 34RECh. 2 - Prob. 35RECh. 2 - Prob. 36RECh. 2 - Prob. 37RECh. 2 - Prob. 38RECh. 2 - Prob. 39RECh. 2 - Prob. 40RECh. 2 - Prob. 41RECh. 2 - Prob. 42RECh. 2 - Prob. 43RECh. 2 - Prob. 44RECh. 2 - Prob. 45RECh. 2 - Prob. 46RECh. 2 - Prob. 47RECh. 2 - Prob. 48RECh. 2 - Prob. 49RECh. 2 - Prob. 50RECh. 2 - Prob. 51RECh. 2 - Prob. 52RECh. 2 - Prob. 53RECh. 2 - Prob. 54RECh. 2 - Prob. 55RECh. 2 - Prob. 56RECh. 2 - Prob. 57RECh. 2 - Prob. 58RECh. 2 - Prob. 1PCCh. 2 - Prob. 2PCCh. 2 - Prob. 3PCCh. 2 - Prob. 4PCCh. 2 - Prob. 5PC
Knowledge Booster
Similar questions
- A(n) __________ is an integer stored in double the normal number of bit positions.arrow_forwardQuestion – 5: Design a magnitude comparator for distinguising the greater number within two 5-bit unsigned binary numbers. In other words, you do not need to select the greater number and save it in a memory unit, need only determining which one is greater.arrow_forwardSEE ATTACHED PHOTO FOR THE PROBLEMarrow_forward
- Please type your solution so that I will be able to read themarrow_forwardUse the 4-bit mantissa table to determine what happens when a computer with a 4-bit mantissa performs the following calculations: +)+arrow_forwardAim – To check whether the 8-bit number stored at memory location 0050H is even or odd. If even, store 02H at memory location 0056H otherwise store 01H at memory location 3056H. Platform Required – sim8085arrow_forward
- Given the following decimal numbers, convert the numbers to a 16-bit memory location in binary using two's complement. (show all details step by step) 165910 - 165910 954610 - 954610 Convert the following decimal numbers to binary using the two’s complement format, using 8 bits: 4810 -3910 -28410 010 Briefly explain why two’s complement is the best format for representing signed integers in a computer. 4. Convert the following decimal numbers to binary floating-point representation, using 4 bits for the fractional part: 68.510 125.4410 99.9910 give the answer of everything otherwise dont give. pleasearrow_forward1. Using single precession IEEE 754 floating point representation perform the following operations. i. X+Y Where X=7CA21000, Y=32AB3000 ii. X*Y Where X=0.567 and Y=3.123arrow_forwardFloating point calculation: a Show the IEEE 754 representation for the decimal value -0.375 in single precision b. Find the decimal representation for the following single precision floating point number 1011,1111,0111,0000,0000,0000,0000,0000 c. Perform the addition and multiplication of the two floating point numbers in (a) and (b) in binary scientific notation, and represent the sum and product in single precision.arrow_forward
- Complete the table below to show the numerical results from applying the indicated operation code to the data shown. Opcodes are six-bit numbers defined as shown below. R = 1 for Rotate 0 for Shift; D = 1 for Right 0 for Left; F is fill, and A2-A0 define the number of bits. R D F A2 A1 A0 Input(Base10) Input(Base2/8-bit) OpCode Output(Base10) Output(Base2/8-bit)) 47 00101111 110011 229 11100101 80 110111 17 011001 123 100011arrow_forwardCreate an unsigned 16-bit number that stores the value 13330 (decimal). Show what the memory contains and work verifying the result. Create a signed 16-bit number and store the value -32 (decimal). Show what the memory contains and work verifying the result.arrow_forwardComputer Architecture Question: Assume a 32-bit floating-point number that is similar to the IEEE754 standard except for the number of bits that are devoted to the exponent is 10, to answer the following questions: What is the maximum positive number? What is the minimum positive number? What is the decimal equivalent for (CD958000)16?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning