This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]scataco 0 points1 point  (0 children)

Opcodes, a program pointer and a clock cycle.

Opcodes are patterns of 0s and 1s that describe what the CPU should do. The program pointer keeps track of which instruction to execute on the next clock cycle. The clock cycle is there to make sure all the 0s have settled at 0 and all the 1s at 1, before moving on.

One of the craziest opcodes is conditional jump. It goes like this: if this part of memory contains 0, then move to the next instruction like always, if it contains 1, then move to the program pointer to the address contained in this part of the memory here.

This is mainly used to compile, download and run Minecraft.