For aspiring CS students and non-majors
An interactive computer science series
- subscribers
4 parts, 30+ posts planned
Binary, analog and digital
Boolean algebra, truth tables, Claude Shannon
AND, OR, NOT gates, completeness
NAND gate, functional completeness
multiplexer, decoder
half adder, carry
full adder, ripple carry adder
Combinational vs sequential logic, SR latch, D latch
clock, D flip-flop, edge trigger
Turing machine, universal Turing machine, computability
Stored-program concept, machine code, memory, I/O devices
registers, ALU, Zero Flag, instruction set
Fetch-Decode-Execute cycle, control unit
cache, cache hit, cache miss, locality, memory hierarchy
자료구조, 알고리즘
01. Why Computers Only Have Two Fingers
Read →01. Why Computers Only Have Two Fingers
The received signal is read as the nearest level. Green = correct read, Red = error.
10. If It Only Calculates, It's a Calculator, Not a Computer
| 현재 상태 | 읽은 기호 | 다음 상태 | 쓸 기호 | 이동 |
|---|
초기 상태: q0 / 정지 상태: q_halt / 빈 칸: _ / 실행 전 테이프 클릭으로 값 수정 가능
12. Talking to the CPU
Copies the value of Rs to Rd.
13. Fetch, Decode, Execute
| Addr | Binary | Assembly |
|---|---|---|
| 0 | 01100001 | LDI R0, 1 |
| 1 | 01100110 | LDI R1, 2 |
| 2 | 00010001 | ADD R0, R1 |
| 3 | 10010101 | STORE 5 |
| 4 | 11000010 | JUMP 2 |
| 5 | 00000000 | Data |
13. Fetch, Decode, Execute
Loads an immediate value into Rd.
14. Fast at Computing, Slow at Remembering
15. 할 일을 쪼개면 그게 알고리즘
15. 할 일을 쪼개면 그게 알고리즘
15. 할 일을 쪼개면 그게 알고리즘