Architecture 03 Flashcards

1
Q

What is meant by word-addressed?

A

Where one address is assigned for each word

• Extra info is supplied to refer to a specific byte within a word

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is meant by byte-addresses?

A

Where one address is assigned for each 8 bit byte
• Lowest address in the word stands for the word (i.e from this address you can infer the rest of the addresses in the word)
• This is now the standard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is meant by little-endian?

A

A characterisation of a system which stores and transmits bytes of an integer from least significant to most significant bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is meant by big-endian?

A

A characterisation of a system which stores and transmits bytes of an integer from most significant to least significant bit (like humans)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is meant by the addressing mode?

A

How an ISA allows instructions to access memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is meant by immediate mode addressing?

A

When a value is specified in an instruction itself

• Used for constants

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is meant by direct mode addressing?

A

When a value is at a fixed address specified in an instruction
• Used for global variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is meant by indirect mode addressing?

A

When a value is at a fixed address that is in a register

• Extra power, but a = b[i] is cumbersome to implement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is meant by index mode addressing?

A

When a value is at a fixed address plus index obtained from register
• Allows implementation of a = b[i] in one instruction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages of orthogonality?

A
  • Simplifies code development

* More powerful instructions and fewer instructions are required to do the same thing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the disadvantages of orthogonality?

A
  • Chips may need to be bigger and more complex
  • Instructions may be slower if multiple memory access is done in them
  • Instructions may be longer as more operands may be required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is CISC?

A

A Complex Instruction Set Computer
• No orthogonality
• Lots of addressing modes
• Variable-length instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is RISC?

A

A Reduced Instruction Set Computer
• Fixed-length instructions (usually 3 operands)
• Many registers
• Often register-register and few addressing modes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the advantages of RISC over CISC?

A
  • More instructions done per second

* Design is more compact and has more compatability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the advantages of CISC over RISC?

A
  • Less instructions needed for a specific task

* More elegant and simple instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly