Skip to content

Commit

Permalink
Add link and stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Justanhy committed May 8, 2021
1 parent af1dd37 commit a161398
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cs132/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ These notes will likely take the same/similar form to the CS118 notes. The prima
2. [x] [Digital logic](part2.html)
3. [x] [Assembler](part3.html)
4. [ ] Memory systems
5. [ ] I/O mechanisms
6. [ ] Processor architecture
5. [ ] [I/O mechanisms](part5.html)
6. [ ] Processor architecture
6 changes: 4 additions & 2 deletions cs132/part5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: I/O Mechanisms
layout: 132/CS132
---

There is no single IO mechanism that is better than the others – it is important to understand the pros and cons of each mechanism.
<p align="center">
There is no single I/O mechanism that is “better” than the others – it is important to understand the pros and cons of each mechanism and the situations where each should be used.
</p>

# Memory mapped I/O

Expand All @@ -13,7 +15,7 @@ There is no single IO mechanism that is better than the others – it is importa

*This means that all addressing modes supported by a CPU are available to I/O.*

> **Advantages.** No need for dedicated instructions, no need for additional hardware.
> **Advantages.** No need for dedicated instructions, or for additional hardware. Addressing modes supported by the CPU are available to I/O.
>
> **Disadvantages.** We are giving up portions of our memory to I/O devices. This is less of a concern for modern 64-bit processors with more address spaces, but is still relevant when sometimes you have no choice but to use a processor with constrained memory addresses like 16-bit legacy or embedded systems.
Expand Down

0 comments on commit a161398

Please sign in to comment.