what is a program?

list of instructions to execute

what is an instruction?

It describes an operation for a processor to perform. Executing an instruction typically modifies the computer’s state.

what does a processor do?

executes instructions

more specifically, instructions perform some kind of operation (read/write, add/sub, etc.) and changes the state.

what is memory?

big array of bytes

Takes an address, gives the value stored in that address

what does computer’s “state” mean?

the values of program data, whcih are stored in a processor’s registers or in memory.

image.png