Chapter 3 Flashcards
a complex sequential circuit whose primary function is to execute programs that are stored within its Flash EEPROM (Electrically Erasable Programmable Read Only
Memory).
CPU w/in a microcontroller
- a series of instructions to perform a specific task w/c are developed by microcontroller system designer using program
development tools.
Program
main control center for the entire microcontroller. While responding to different program instructions, the CPU will call upon its resident subsystems to perform their tasks.
Central Processing Unit (CPU)
tends to run slower than the other two configurations
since operands must be continually fetched from memory
- has the ability to execute fairly complicated instructions
- may also be modified such that one operand is located in
a register and the other is found in memory.
Accumulator-based architecture
- both operands are stored in registers that are
typically collocated with the central processing unit - the processor does not have to slow down to read or write operands
- contents are read from and written to memory using a background operation.
Register-based architecture
- both operands and the operation to be performed are
stored on the stack. - may be based in dedicated registers or may be a
special portion of random access memory.
Stack-based architecture
- architecture consists of separate hardware subsystems called stages to fetch an instruction from memory, decode the instruction, fetch instruction operands from
memory or registers, execute the instruction, and then write the results back to memory. - the overall result is that an instruction completes execution on every clock cycle.
. Pipeline architecture
Two basic types of instruction set architectures:
Reduced Instruction Set Computer (RISC)
Complex Instruction Set Computer (CISC)
- has a complement of simple building block
instructions. - lend themselves to systems with less complex CPU
architectures.
. Reduced Instruction Set Computer (RISC)
- has a complement of fuller feature, more complex
instructions than the RISC-based architecture
Complex Instruction Set Computer (CISC)
- collection of parallel conductors that have a similar function.
Bus
- provides a connection between the central processing unit and the memory subsystem aboard the microcontroller.
- the number of uniquely addressable memory locations in a microcontroller is determined by the width of the address bus. - first address in the memory subsystem will be all zeroes while the final address will be all logic ones.
. Address Bus
- used to route parallel data about different subsystems within the microcontroller. - Microcontrollers are commonly available with data bus widths of 4, 8, 16, or 32 bit w/c determines the size of a data argument that the microcontroller can process.
. Data Bus
- Microcontrollers are equipped with paths to send and receive a collection of control signals designated as control
bus
signal lines carry control signals (issued by the CPU in response to program instructions to insure the instruction is properly executed) to different subsystems through out the microcontroller.
Control Bus
addressable memory usually contains several different types of memory
MEMORY: