Program counter

The program counter (also referred to as the instruction pointer (IP) in Intel x86 and Itanium microprocessors) is a processor register that indicates where a computer is in its program sequence. In most processors, the program counter is incremented immediately after an instruction is retrieved. The memory address then points (“points to”) to the next […]

Stack

A stack is a data structure in computer science for the storage of a varying number of elements, for which, as with an ordinary stack, the element that was added last is retrieved first. This principle is also known as LIFO (Last In First Out). The stack’s counterpart is the queue, which works according to […]