复习题

Part I TRUE/FALSE: Write 'T' if the statement is true and 'F' if the statement is false.

(1) %eax, %ebx and %ecx are CALLER saved registers. ( F )

(2) Callee can read and write CALLER saved registers. ( T )

(3) Caller cannot read and write CALLEE saved registers before the call happens. ( F )

(4) Callee can use %ebp to get parameters. ( T )

(5) Return address is saved by callee. ( F )

(6) There are two IEEE float representations exactly equal to zero. ( T )

(7) Denormalized floats represent magnitudes greater than those of normalized floats. ( F )

(8)The largest possible finite denormalized IEEE floating number is greater than the smallest possible positive normalized IEEE float-ing number. ( F )

(9)A direct-mapped cache memory has 1 line per set. ( T )

(10)Larger caches are more susceptible to capacity misses than smaller caches. ( F )

(11)Caches with lower associativity are more susceptible to conflict misses than those with higher associativy. ( T )

(12)Caches with higher associativity are more susceptile to cold misses than those with lower associativey. ( F )

(13)The operating system kernel runs as its own separate process. ( F )

(14)Each process shares the CPU with other processes. ( T )

(15)Each process has its own private address space. ( T )

(16)The environment for a process is stored on the stack. ( T )

(17) The x86 instructions lea can be used to add two registers and store the result without overwriting either of the original registers. ( T )

(18) A 32-bit IEEE float can represent any 32-bit integer to within 0.5.( F )

(19) All 32-bit IEEE floats with integer values are encoded with the binary point at the right most bit,so E (the exponent) is 0 and exp (the 8-bit exponent field) is E + bias = 127.( F )

(20) No decimal integer has an exact representation in IEEE floating point (10 is not a power of 2).( F )

(21) There is no exact representation in IEEE floating point of most decimal fractions.( T )

(22)In x86 64 the %rbp register can be used as a general purpose register. .( T )

(23) IA32 is able to make use of a larger address space than x86-64.( F )

(24) x86-64 is able to make use of more registers than IA32.( T )

(25) x86-64 is able to make use of larger registers than IA32.( T )

(26)The rule of mappings between unsigned and two’s complement numbers is that keep bit representations and reinterpret.( T )

(27)Any sequence of IA32 instructions can be executed on an x86-64 processor. ( T )

(28)IA32 systems are Little endian. ( T )

(29) x86-64 provides a larger virtual address space than x86.( T )

(30) The stack disciplines for x86 and x86-64 are different.( T )

(31) x86 uses %ebp as the base pointer for the stack frame.( T )

(32) x86-64 uses %rbp as the base pointer for the stack frame.( F )

相关推荐
相关主题
热门推荐