Prof. S. Jagannathan,HOD – Dept of E & C Engg,R.V. C. E, Bangalore
The execution unit consists of scratch pad registers such as 16-bit AX, BX, CX and DXand pointers like SP (Stack Pointer), BP (Base Pointer) and finally index registers such assource index and destination index registers. The 16-bit scratch pad registers can be splitinto two 8-bit registers. For example, AX can be split into AH and AL registers. Thesegment registers and their default offsets are given below.
Segment Register Default Offset
CS IP (Instruction Pointer)DS SI, DISS SP, BPES DIThe Arithmetic and Logic Unit adjacent to these registers perform all the operations. Theresults of these operations can affect the condition flags.Different registers and their operations are listed below:
AX Word multiply, Word divide, word I/OAL Byte Multiply, Byte Divide, Byte I/O, translate, Decimal ArithmeticAH Byte Multiply, Byte DivideBX TranslateCX String Operations, LoopsCL Variable Shift and RotateDX Word Multiply, word Divide, Indirect I/O