# Computer Organization

Source: https://helio.education/subjects/computer-science/computer-organization  
Subject: Computer science  
Grades: College

Computer Organization, college. 7 units and 34 lessons, from Data representation to Caches and the memory hierarchy, talked through step by step.

## Data representation

- Binary and hexadecimal
- Unsigned integers and binary addition
- Two's complement
- Bitwise operations and shifts
- Floating point

## C and memory

- From Python to C
- Pointers and addresses
- Arrays and pointer arithmetic
- Strings in C
- Structs
- The heap: malloc and free
- Memory bugs

## RISC-V assembly

- Instruction sets and registers
- Arithmetic, logic and immediates
- Loads and stores
- Branches and loops
- Machine code: instruction formats

## Procedures and the stack

- Calling functions
- The stack and stack frames
- Recursion in assembly
- Compiling, assembling, linking and loading

## The processor datapath

- Datapath building blocks
- The single-cycle datapath
- Control signals
- Processor performance

## Pipelining

- Pipelining
- Data hazards and forwarding
- Control hazards and branch prediction

## Caches and the memory hierarchy

- The memory hierarchy and locality
- Direct-mapped caches
- Cache performance
- Set-associative caches
- Writing cache-friendly code
- Virtual memory

---

Helio is an AI tutor you talk to, in math, science, English and history. It draws each step on a board and checks the math. Plans and prices: https://helio.education/pricing. Start free: https://helio.education/signup
