1.- Indicate the missing variable or operator:
2.- On a computer that uses 16 bits in 2's complements for signed numbers, you want to add 126 + 3. The stored result is 129 in 8 bits and it is correct.
A) True
B) False
3.- On a computer using 8 bits in 2's complements for signed numbers, the memory location containing 00001110 is subtracted from a location containing 11111111 (both values in binary). The result of the operation interpreted in complements to 2, its value in base 10 is ...
1) A and 1= A
2) false
129 in 8 bits 10000001 but it required one bit for sign so min 9 bit required
3)
00001110 - 11111111
00001110 + (-11111111 )
00001110 + (00000000+1)
00001110 + 00000001
00001111
hence there is no carry so answer is
- 2s value
-(11110000+1)= - 11110001
-241
1.- Indicate the missing variable or operator: 2.- On a computer that uses 16 bits in...
please include only the digits of the appropriate number system. In particular, do not precede the answers with ‘0x’ or ‘0b’ or follow your answers with base indicators, like subscript 2 or 10. 1. A processor uses 24 bits for its memory addressing. How many possible distinct locations (in decimal) can the computer address? The computer memory address locations are numbered from 0 to the maximum. If a memory locations' address is (7243)10, how is this address represented in binary...
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...
26. The is a group of bits that tells the computer to perform a specific operation A). program counter B). Opcode C). register D). microoperation 27. A condition called occurs in unsigned binary representation of a number when the result of an arithmetic operation is outside the range of allowable precision for the given number of bits. A). underflow B). 2's complement C). overflow D) bitwise complement 28. An iteration of the fetch-decode-execute cycle includes which of the following events?...
1) We would like to design a bus system for 32 registers of 16 bits each. How many multiplexers are needed for the design? Select one: 5 16 1 4 32 2) The basic computer can be interrupted while another interrupt is being serviced. Select one: True False 3) If the Opcode bits of an instruction is 111, then the basic computer instruction type is either memory-reference or input-output. Select one: True False 4) The content of AC in the...
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?
1.8 (1 marks) A computer has a word length of 8 bits (including sign). If 2’s complement is used to represent negative numbers, what range of integers can be stored in the computer? If 1’s complement is used? (Express your answers in decimal.)
4. Translate 10*2to exactly 8-digit hexadecimal number. Answers: If the cost for all RAM chips to utilize the maximum memory space of the MIPS architecture is SI dolloars, how much will it cost, approximately, to implement the maximum memory space of the a 64-bit computer architecture Answer: Approximately 6 billions Filli an integer. No fraction.) 6. Fill in the missing pieces of the MIPS assembly codes that translate the following C codes int A[1001. BI 1001; B12] = h +...
1) How many bits are needed to address/uniquely identify the LC-3’s eight General Purpose Registers? 2) How many bits or bytes are at each memory location in the LC-3? 3) The minimum and maximum values for an UNSIGNED CHAR (1 byte) are? 4) The minimum and maximum values for a SIGNED CHAR (1 byte) are? 5) The LC-3 has a 16-bit address bus and is able to address up to how many memory locations? Why?/How?/Prove? I don’t want a 2...
Write a program that allows the user to enter an unsigned integer (the maximum value of an unsigned 4-byte int is 232 = 4,294,967,296) and reverses its format (from little to big endian, or vice versa). Print out the user-entered number in hexadecimal and binary, reverse the endianness, and print the reverse in hexadecimal and binary. Integers in most machine architectures are represented in little endian format: the least significant byte is stored in the smallest address; for instance, the...
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...