isa Flashcards

1
Q

isa

A

specifies the operations a computer can preform, their format and how to access information in memory

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

How many object can we uniquely identify with k bits?

A

2^k

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

big-endian

A

MSB at the lowest address

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

little-endian

A

LSB at the lowest address

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

Modern computers have instructions capable of performing 4 types of operations:

A

data transfer
arithmetic and logic
program sequencing and control
i/o transfers

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

straight line sequencing

A

the control unit increases the PC to point to the next instruction; no jumps

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

immediate addressing

A

operand is part of the instruction
pro: no additional operation is needed to have the value of the operand
con: the value can’t change

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

absolute (direct) addressing

A

operand in memory and we specify the full address
pro: no additional operation is needed to have the address
con: the value can’t change (the location must be known at compile time) and limited addressing

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

register indirect addressing

A

the operand is in memory and we specify the address in a register
pro: memory location can be changed
con: more memory accesses

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

indexed addressing

A

the address of the operand is generated by adding a value to the content of a register
pro: memory location can be changed, allows specification offset, convenient in loops
con: more memory accesses, additional operation needed to get the access

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

flexibility of ISA

A

supported operations

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

programmability

A

how complex is it to program?
length/complexity of code

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

implementation cost

A

amount/complexity of instructions

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

CISC

A

many complex instructions
memory-to-memory operations
easier to program
complex hardware
instructions take multiple cycles
lots of hardware, energy inefficient

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

RISC

A

less and simpler instructions
load/store architecture
instructions use a single word
spends more transistors on memory registers
single-clock per I

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

ISA trade-offs

A

complexity, performance, energy use, security