The various 16-bit registers on the 8085 are BC, DE, HL, SP, PC.
there are 14 registers in 8088 micro processor. All the 14 are 16 bit registers. They are4 segment registers viz - code segment register, stack segment register, data segment register, extra segment register.general registers are - accumulator register i.e. AX, base register i.e. BX, count register i.e. CX, data register i.e. DX and stack pointer (SP), base pointer (BP).index registers are - source index(SI), destination index(DI),and the other registers are instruction pointer and flags register.
PC (Program Counter) IX (Index Register X) IY (Index Register Y) SP (Stack Pointer)
A stored-program computer at least needs to know which instruction it has to execute next. Other memory addresses of special significance are e.g. the top of one or more stacks, or addresses to be used by instructions.To keep track of such addresses, all CPUs have one or more registers; for instance the address of the next instruction is stored in the instruction pointer, a.k.a. program counter. Which and how many registers of a CPU are designated to keep addresses depends on the CPU type. The Z80 for instance has a program counter, a stack pointer, two index registers and an indirect address register doubling as 16 bit accumulator, while the contemporay 6502 only has a program counter and a stack pointer.
the pointer or the index finger
A pointer finger :p
by using finger pointer and the index finger.
Clear direction flag (CLD) means that index registers will be incremented when looping through a string. Opposite of STD (set direction flag), which means the index registers of the string will be decremented when looping.
In a complete binary tree (CBT) stored using an array, the parent of an element at index i can be found at index (i-1)/2, assuming the array is 0-indexed. So for an element stored at index 11, the parent node would be stored at index (11-1)/2 = 5.
Because of pointers and that all arrays are really pointers. A pointer something like *pointer can also be written as pointer[0] and *(pointer + 1) can also be written as pointer[1]
general purpose registers are basically used to hold temporarily data and intermediately result. example: ax,bx,cx,dx each of 16 bits. whereas special purpose register are primely used for memory access. it is of two types : 1. segment register and 2. index register/ pointer
An index register has the function of receiving, storing, and outputting instruction-changing codes in a computer. The index register is in a computer's CPU.