1.8 (1 marks) A computer has a word length of 8 bits (including sign). If 2’s...
1.7 (2 marks) Add the following numbers in binary using 2’s complement to represent negative numbers. Use a word length of 6 bits (including sign) and indicate if an overflow occurs. Repeat using 1’s complement to represent negative numbers. (b) (−14) + (−32) (e) (−11) + (−21)
For each word length a) determine the range of integers are can represent with sign magnitude, b) write both the positive and negative binary representation in twos-compliemnt of the number provided. (a) length: 1 bytes, value: 82 (b) length: 12 bits, value: 1124
(10/100) Add the following decimal numbers m binary: 11 + (-15). Use 2's complement to represent negative numbers. Use a word length of 5 bits (including sign). Indicate if an overflow' occurs.
An 8-bit register contains 87h. If this computer represents the numbers in 2’s complement system, what negative number in decimal does these 8 bits represent? Please show your work step by step
Chapter 1. problem 7: (5+5 pts)Tbe following 6-bit two's complement numbers were found in a computer. What decimal number do they represent'? f) 111001 Chapter 1.problem 9: (10 pts) Each of the following pairs of signed (two's complement) integers are stored in computer words (6 bits). Compute the sum as it is stored in a 6-bit computer word. Show the decimal equivalent of each operand and the sum. Indicate if there is overflow a) 110101 001111
5. Answer the followings a) Lets computer stored numbers in 8 bits in 2's complement format, what is the largest and smallest number that can be stored? b) In (a) If we add 1 to the largest number what would happen? if we subtract 1 from smallest number what would happen? c) Why exponent is stored as biased exponent in floating point representation? d) In EFLAG register, some bits have given fixed value 0/1.what is rationale behind it?
Add the following numbers in 2's complement: -11 +19 using a word length of 6 bits
Compute the sign extension into 16-bits of +20 and -123 represented in 2’s complement in 8-bits. Prove that when an 8-bit representation is sign-extended into 16 bits by replicating the sign bit 8 times in the more significant end, you get the same value both for a negative and non-negative X using X=- xn-12n-1 + x n-22n-2+…+ x222 + x121+ x0 20.
A digital computer has a memory unit with 24 bits per word. The instruction set consists of 199 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. [8 marks] How many bits are needed for the opcode? How many bits are left for the address part of the instruction? What is the maximum allowable size for memory? What is the largest...
Given the interpretation and the word(s), tell what characters or decimal numbers are stored in main memory by the designated word(s). We assume our computer uses 8 bits for characters and 16 bits for binary integers: (show your work) Word I 1011 0010 0010 0000 Word II 0100 1001 0101 0010 1) Binary Integer - Word I 2) Character (ASCII) – Word II _____________________________________________________________________________________________________________________________________________________ For the following problems, assume that our computer uses 16 bits for binary integers. Find the...