Showing posts with label Assembly. Show all posts
Showing posts with label Assembly. Show all posts

Early microprocessors which disappeared from the market did so because

Early microprocessors which disappeared from the market did so because



A. Insufficient address bits
B. Unreliable performance
C. They were too expensive.
D. Heat load
E. Slow clock speeds
F. They couldn't handle expanding memory demands.


Answer:

G. They were too inexpensive.
A. Insufficient address bits
F. They couldn't handle expanding memory demands.

The reason the "ugly" Intel architecture has survived over the years is that

The reason the "ugly" Intel architecture has survived over the years is that



A. It was adopted for the IBM PC in the early 1980s.
B. It has huge market forces behind it.
C. Intel architects didn't believe the MIPS design rules.
D. It followed IBM's market strategy.
E. The CPU marketplace is harsh and demands superior engineering.
F. Intel successfully lobbied for congressional support.


Answer:

G. It is not backward compatible.
A. It was adopted for the IBM PC in the early 1980s.
B. It has huge market forces behind it.

An addressing scheme where the address is a base register plus 2^n times an index (where n is specified in 2 or 3 bits of the instruction) is called

An addressing scheme where the address is a base register plus 2^n times an index (where n is specified in 2 or 3 bits of the instruction) is called



A. Offset.
B. Referenced.
C. Base plus scaled index.
D. Computed.
E. Scaled.
F. DIrected.


Answer:

G. Biased.
C. Base plus scaled index.
E. Scaled.

In general, Intel's arithmetic instructions

In general, Intel's arithmetic instructions



A. Execute faster than others'.
B. Perform integer and floating-point calculations equally quickly.
C. Have not changed since their inception in 1978.
D. A source and destination register be the same.
E. Area feat of modern engineering.
F. Require that the destination register be one of the source registers.


Answer:

G. Are not backwards compatible.
D. A source and destination register be the same.
F. Require that the destination register be one of the source registers.

A large number (more than 200) instructions were added to the Intel instruction set

A large number (more than 200) instructions were added to the Intel instruction set


A. With the release of the first Pentium chip
B. In 1985 with the first 16-bit processor
C. In 2006 when silicon prices dropped.
D. In 2012 when the power wall became a significant obstacle.
E. In 1978 when the 8080 first went to market
F. Because of the demand for audio and video processing


Answer:

G. Between 1999 and 2001 for floating point and multimedia purposes
F. Because of the demand for audio and video processing
G. Between 1999 and 2001 for floating point and multimedia purposes

With the arrival of multimedia applications in the late 1990s, Intel introduced

With the arrival of multimedia applications in the late 1990s, Intel introduced




A. Micropipelining.
B. Instructions which could operate on multiple data at once.
C. A brand new microarchitecture.
D. Separate audio and video instructions.
E. Single Instruction Multiple Data (SIMD) instructions.
F. Nothing new since its current instructions were adequate.


Answer:

G. Special registers for audio and video data.
B. Instructions which could operate on multiple data at once.
E. Single Instruction Multiple Data (SIMD) instructions.

Intel's first 32-bit processor, the 80386 appeared the same year as the MIPS and ARM processors. However

Intel's first 32-bit processor, the 80386 appeared the same year as the MIPS and ARM processors. However



A. The 80386 contained a newer instruction set architecture.
B. The high four register bits were hard-wired to zero because Intel tried to beat ARM and MIPS to market.
C. Intel continued to build on their former instruction set.
D. New instructions were not needed.
E. Intel already had a huge user base while ARM and MIPS had virtually none.
F. It was unable to execute programs written for the previous generation of processors.


Answer:

G. THe chip consumed less power than its competitors.
C. Intel continued to build on their former instruction set.
E. Intel already had a huge user base while ARM and MIPS had virtually none.

When floating point operations were introduced in the Intel processor line,

When floating point operations were introduced in the Intel processor line,



A. The instruction length was increased to 32-bits.
B. Integer processing slowed down as a result
C. IBM's chips were no longer needed.
D. They were not performed in the CPU itself.
E. They were performed in a separate off-chip processor.
F. They did not affect the instruction set.


Answer:

G. The new instructions were microcoded and executed on the original 8086 chip.
D. They were not performed in the CPU itself.
E. They were performed in a separate off-chip processor.

Intel's 1978 microprocessor, the 8086 had a 16-bit architecture with

Intel's 1978 microprocessor, the 8086 had a 16-bit architecture with



A. sixteen-bit registers, some of which were special-purpose
B. A combination of legacy 8-bit and new 16-bit registers.
C. A single 16-bit register
D. Sixteen 16-bit registers
E. An accumulator.
F. Fewer registers that are common now.

Answer:

G. A hardware stack.
A. sixteen-bit registers, some of which were special-purpose
F. Fewer registers than are common now.

In general, a more complex instruction set means

In general, a more complex instruction set means



A. Shorter clock cycles
B. More compact code
C. Lower instruction count
D. Faster execution time
E. Lower cycles per instruction
F. Easier pipelining.


Answer:

G. Faster compilers.
B. More compact code
C. Lower instruction count

In the ARM 12-bit immediate field, the eight least significant bits are zero-extended to a 32-bit value, then rotated right the number of bits specified in the first four bits of the field multiplied by two. This allows

In the ARM 12-bit immediate field, the eight least significant bits are zero-extended to a 32-bit value, then rotated right the number of bits specified in the first four bits of the field multiplied by two. This allows



A. All 24-bit values to be represented.
B. All powers of 2 in a 32-bit value to be represented.
C. The most frequently used 32-bit values to be represented.
D. Positive and negative numbers.
E. All even numbers in a 32-bt word to be represented.
F. All 32-bit values to be represented.


Answer:


G. Faster addition..
B. All powers of 2 in a 32-bit value to be represented.
C. The most frequently used 32-bit values to be represented.

Each ARM instruction begins with _____

Each ARM instruction begins with _____



A. A four-bit code which determines whether the instruction will execute.
B. Condition codes
C. The designation for the destination register.
D. A six-bit operation code which can be zero.
E. A valid bit.
F. An indication of how long it is.


Answer:

G. Bits that tell the length of the instruction.
A. A four-bit code which determines whether the instruction will execute.
B. Condition codes