CHAPTER 4 Flashcards

1
Q

Address Bus

A
  • Address data to be written to the device is carried in address bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Data bus

A
  • All data to be written to the device is carried in data bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Buffer

A
  • Temporary hold data until its ready to transmitted to the device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Instruction Group

A
  • INPUT AND OUTPUT
  • ARITHMETIC OPERATIONS
  • UNCONDITIONAL AND CONDITIONAL INSTRUCTION
  • COMPARE INSTRUCTION
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Handle interrupt

A
  • Raise interrupted flag
  • At the end of FE Cycle
  • Check priority
  • If True , current store at stack
  • The interrupt input will be process by ISR
  • The content in stack is restored
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an assembler ?

A
  • Translate assembly language into machine language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why use assembly language ?

A
  • Far easier
  • Safer ( Careless )
  • Reduce time consuming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Assembler can be done ?

A
  • Manually
  • Automatic by computer programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Basic Assembler

A
  • Take source file , Generate object
  • Find and report errors
  • Construct a symbol table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Addressing mode ?

A
  • Immediate (Operand is the data )
  • Direct ( Operand hole memory )
  • Indirect ( Operand held memory that store the address of data )
  • Indexed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

First pass

A
  • Read one line at a time
  • Ignore comment
  • Check opcode
  • Generate symbol table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Second pass

A
  • Read one line at a time
  • Generate object code including opcode , operand from pass 1
  • Save or execute the program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Control bus signal contain ?

A
  • Interrupt
  • Timing
  • Read
  • Write
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How to speed up laptop ?

A
  • Logical core - More instruction simultaneously
  • Ram - Run many at a time
  • Cache - Frequently used
  • Clock speed - FE cycle
  • Bus width - More data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How data transmitted via USB port ?

A
  • 1 byte transferred at a time
  • Can be synchronous or not
How well did you know this?
1
Not at all
2
3
4
5
Perfectly