Reference no: EM13803685 , Length: 1
Q1:
1) Form the two's complement of a unsigned hexadecimal number
hex to bin, bin to 2's, 2's to hex
Convert: -(A7)16
1) Convert signed binary to decimal
2's - 1 , !bits , val = - (bin to dec):
Convert: (11011011)2
2) Convert signed decimal to binary dec to bin , bin to 2's
Convert: (-391)10
3) Convert signed decimal to hexadecimal dec to 2's , 2's to hex
Convert: (-543)10
4) Convert signed hexadecimal to decimal
hex to bin (2's) , 2's -1 , !bits , val = - (bin to dec)
Convert: (A01)16
Q2:
1) (10111)2 + (111)2 = ( )2
2) (101)2 + (101)10= ( )16
3) (-83)10- (200)16 = ( )rs
4) (ABC)16 + (CBA)16 = )16
5) (ABC)16 - (CBA)16 to = )2's
Q3:
1) Given a computer system with an old CPU that has only 16 bits for a RAM address, if RAM is allowed to save unsigned integer numbers, what is the maximum size in Bytes for this RAM.
RAM = 2^16 = 65536 B or 64 KB
2) Given a modern CPU installed along a RAM of 4GB, compute number of lines of the address bus connecting the RAM and the CPU?
4GB = 2^32 -> need 32 bit/line address bus