A register is an easily accessed place on your computer where you can find a reference to any information you need. Some registers are read-write, and have a specific hardware function, while others are read-only and have only a certain amount of fast storage. The computer will use the information that is stored in this register to help it run. It is called a register because it keeps a record of all the various instructions that are followed each time you perform a particular operation. It saves all the significant instructions and data and acts as a pointer to any other area of your computer where more instructions are needed.
Instructions that are performed by your CPU (Computer Inside) are represented by a series of binary numbers. In your CPU, these instructions are always stored in the memory referred to as RAM (memory of your computer). They are processed in your processing unit (CPU), which is a chip inside your computer. Your processor works with these instructions in a manner that is called microcode. Basically, the instruction is translated into a series of binary numbers which are then read by your register, and executed in your processing unit.
You might be wondering how a register can store memory. All computers use registers so that they can keep track of the different instructions that are performed by your CPU. Instructions that are performed by your software are also stored in this register. When you are executing any software program, it is your CPU that executes the computer instructions stored in this register. Every time you perform a task with your PC, it is your PC that processes the instructions in this register.
Instructions are always stored into two special registers: the PC and the AHK. The PC is the general purpose registers (used for general instructions); the AHK is the instruction register used for instructions specific to your operating system. Each instruction that is executed has a corresponding entry into one or both of these registers. The PC is called the execution register; the AHK is called the break register.
An instruction is an instruction to the processor. Instruction execution happens when your PC or your main frame accepts the instruction from the instruction pointer that is passed through to it. When you perform an instruction, your processor will first look at the PC register to see if it needs to jump to the next instruction. If it does not need to jump, then your PC will continue its execution at the end of the current instruction. In order for your PC to continue executing instructions, it must store the result of each instruction in an AHK register.
One instruction will only take up one PC register, while multiple instructions will take up several PC registers. The PC will continue to move until it hits an instruction that is already handled by another register. Once your processor has moved on to the end of the current instruction, the PC will continue its execution past this instruction. That is why your computer may appear to freeze or run slow after executing a lot of code. The reason is because some of the code that is waiting to be executed is stored in your computer memory buffer register.