CHAPTER 4 Flashcards
1
Q
Address Bus
A
- Address data to be written to the device is carried in address bus
2
Q
Data bus
A
- All data to be written to the device is carried in data bus
3
Q
Buffer
A
- Temporary hold data until its ready to transmitted to the device
4
Q
Instruction Group
A
- INPUT AND OUTPUT
- ARITHMETIC OPERATIONS
- UNCONDITIONAL AND CONDITIONAL INSTRUCTION
- COMPARE INSTRUCTION
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
6
Q
What is an assembler ?
A
- Translate assembly language into machine language
7
Q
Why use assembly language ?
A
- Far easier
- Safer ( Careless )
- Reduce time consuming
8
Q
Assembler can be done ?
A
- Manually
- Automatic by computer programs
9
Q
Basic Assembler
A
- Take source file , Generate object
- Find and report errors
- Construct a symbol table
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
11
Q
First pass
A
- Read one line at a time
- Ignore comment
- Check opcode
- Generate symbol table
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
13
Q
Control bus signal contain ?
A
- Interrupt
- Timing
- Read
- Write
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
15
Q
How data transmitted via USB port ?
A
- 1 byte transferred at a time
- Can be synchronous or not
16
Q
A