Professional Documents
Culture Documents
SYSTEMS THEORY
Lecture 5: Microcomputer
Fundamentals
CISC and RISC
CISC
• The original mainframe computers, and the
minicomputers derived from them,
developed along the CISC route
• Each task had an instruction to achieve the
result required with how ever many steps
that were needed
• When microcontrollers were developed
commercially in 1971 they natually followed
the same route
CISC HARDWARE
• The hardware was developed by many
different manufacturers but one common
feature was a large number of named
registers each with a different instruction to
use them
• When a subroutine was called, any register
that could be overwritten in that routine had
to be saved at the beginning and restored
at the end, causing a large time overhead
• The answer many used was context
switching
CONTEXT SWITCHING
• A section of memory would be used as a
collection of named registers
• A register would hold the start address in
memory for this block
• When a subroutine was called, the value in
that register was changed to point to
another block and the registers used as
normal
• At the end of the routine, the address was
changed back to the original registers
MICROPROCESSOR
DEVELOPMENT
• The microprocessor designs were much
more varied initially than earlier computer
designs had been but many followed the
large number of named registers route
• Some also developed a method of context
switching to help improve performance
when calling subroutines
• The Z80 microprocessor from 1976 in an
example of just such a design
Z80 EXAMPLE
Z80 FEATURES