A simple CPU fetches, decodes, and executes three instructions stored in memory: LOAD R1,100; ADD R1, R2; STORE R1,200.
1 LOAD R1, 100 # Fetch value from memory address 100 into register R1 2 ADD R1, R2 # Add contents of R2 to R1 3 STORE R1, 200 # Store R1's result into memory address 200