You are on page 1of 1
Register structure a Glass______Reaister____urpose Data: AXBX I" purpose x string and loop ops only Dx mulvaiv and VO only Address: sp stack pointer BP base pointer (can also use BX) S101 index registers, ‘Segment: cs code segment 38 stack segment Ds data segment ES extra segment ° instruction pointer (lower 16 bit of PC) FLAGS €.Z,N,B, P, Vand 3 control bits es rs Butea Segment sais, S Cade Segment = Stack Segment Ds ‘Daa Segment 1P Instruction Pointer Accumulator Base Register Count Register Data Register Stack Fvinter es toe Seah Da, Bp “Bp Tn total there are fourteen 16-bit registers in an 8086 4 Data register (AX, BX, CX, DX) (general purpose as well special function registers)Hold ‘daa for an ofefgion «© be perform. Low and High bytes ofthe data registers ean he accessed separately. AH,/BH. CH, DH are the high bytes. AL. BL. CL. and DL are the low bytes AX (Accumulator Regiigh) used in arithmetic, logic and data transfer instructions. Also used in BX (Base Register) Also se adres eter (Comic Dad Me ‘Alo Used shift and eta operations Dx coat eer Aso Udi nen estes ‘BP IP) (C) Inder rogten GH, DD) Blas register “7, epment registers arin ax hase anes for hg in the 1 Mbyte of memory. SP, BP.IP, SI, DI registerLare used as memory points. Phey provide the offset value of a Memory address, with respect to Stating address. ‘ory Segment, as specified by the ‘Content ofa Sepinunt Regt Hence pointer piss Nepal only i accordance wih ‘Segment register.. IP is similar to Program Counter of 80% ‘only provides 16 bit offset alte wick C5 regiter. 20 bi efoaiye memory adres con O€pbpraed in conbnaton of segment register & a pointer registef! See the 20 bit effective address generation part sh examples IP is aoc with CO(UP CS). SPs snsociatad Dave asocated wih DS & ES, based on adessing modes

You might also like