4: Microprocessor Flashcards

1
Q

3 characteristics of instruction

A
  1. collection of instruction is instruction set
  2. operation is determined by the instruction being execute
  3. each instruction must contain information required by processor to execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

4 element of instruction

A
  • operation code
  • source operand reference
  • result operand reference
  • next instruction reference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

where the next instruction locate

A

main memory

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

where the source and result operand locate

A
  • main or virtual memory
  • I/O device
  • CPU register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

4 types of instruction

A
  • data processing
  • data storage
  • data movement (I/O)
  • program flow control
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

5 addressing mode

A
  1. immediate
  2. direct
  3. register
  4. register indirect
  5. implied
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

immediate addressing mode

A

data is specified and will be part of instruction

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

direct addressing mode

A

address of the data is specifies
- data will be in memory

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

register mode

A

specifies the name of register

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

register indirect mode

A

specifies the name of the register where address of data is available
- data will be in memory
- address will be in register pair

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

implied mode

A

instruction itself specifies data

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

3 uses of assembly language

A
  • addresscritical performance issues
  • access to specialised processor instruction
  • direct hardware manipulation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

4 advantages of assembly language

A
  • speed
  • space
  • capability
  • knowledge
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

LLL vs HLL

A

Low-Level-Language
- long sequence of instruction for complex task
- machine dependent
- know the internal structure of the microprocessor

High-Level-Language
- provide complex statement for complex task
- provide high level abstraction from the hardware details
- hide internal structure in instruction

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

RISC

A
  • few instruction
  • few addressing mode
  • fixed length
  • memory access limited to load or store instruction
  • all operation done within register
  • single cycle execution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CISC

A
  • large number of instruction
  • large variety of addressing mode
  • variable length
  • unfrequently used instruction for specified task
  • manipulate operand in memory