answersLogoWhite

0


Best Answer

The SI (Source Index) and DI (Destination Index) registers are useful in repeated string operations, such as copy. The DS (Data Segment) register is paired up with SI and the ES (Extra Segment) register is paired up with DI.

User Avatar

Dereck Kozey

Lvl 10
2y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the function of dI and sI register?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are SI and DI register?

The source index (SI) register is required for some string (character) operations. In this context the SI is associated with the DS register. The destination index (DI) register is also required for some string operations. In this context the DI is associated with the ES register.


Which bit of flag register is used for controlling the si and di?

The direction flag (DF) is used to control the use and direction of repeated string operations involving DI and SI.


Write assembly program that draw circle?

Circle Macro x,y,rad,color local Loop1,Loop2,Loop3 pusha ; BX=X Offset, CX=Y Offset, DX=Some evil counter xor bx,bx mov cx,[rad] mov ax,cx shl ax,1 mov dx,3 sub dx,ax ; AL=Color mov al, ; Calculate address of center in vidmem. mov di,[y] mov si,di shl di,8 shl si,6 add di,si add di,[x] mov gs,di Loop1: ; Plot 8 pixels using known centerpoint and X and Y offsets. mov di,gs add di,bx mov si,cx shl si,6 add di,si shl si,2 add di,si mov es:[di],al sub di,si sub di,si shr si,2 sub di,si sub di,si mov es:[di],al sub di,bx sub di,bx mov es:[di],al add di,si add di,si shl si,2 add di,si add di,si mov es:[di],al mov di,gs add di,cx mov si,bx shl si,6 add di,si shl si,2 add di,si mov es:[di],al sub di,si sub di,si shr si,2 sub di,si sub di,si mov es:[di],al sub di,cx sub di,cx mov es:[di],al add di,si add di,si shl si,2 add di,si add di,si mov es:[di],al ; Is DX still under zero? cmp dx,0 jge Loop2 ; If, add 4*XOffset+6 to DX mov si,bx shl si,2 add si,6 add dx,si jmp Loop3 Loop2: ; If not, add 4*(XOffset-YOffset)+10 to DX mov si,bx sub si,cx shl si,2 add si,10 add dx,si ; Decrease Y coordinate dec cx Loop3: ; Increase X coordinate inc bx ; Is X Offset<Y Offset; if is, loop again. cmp bx,cx jl Loop1 popa ENDM mov ax,0013h int 10h mov ax,0A000h mov es,ax circle 10,10,5,55 AWAIT: MOV AH,0 INT 16H CMP AH,1 JE EXIT JMP AWAIT EXIT:


How do you beat level 5 at gang revenge?

si A di tarik pake tali si B di jatuhin Genteng Si C di jatuhin tong Si D sama Si Govian Kill pake tembak ! selesai


What does Con Di lia Si mean in Hebrew?

"Con Di lia Si" has no meaning in Hebrew.


What has the author Di Si written?

Di Si has written: 'Fatou' -- subject(s): Fiction, West Africans


What is the purpose of DI register in microprocessor in 8086?

DI is the Index register in Data segment(16-bit, 64 KB) .Destination Index (DI) is a 16-bit register. DI is used for indexed, based indexed and register indirect addressing, as well as a destination data address in string manipulation instructions.


What is the DI SI and BX pointing registers default memory segment?

DI: ES SI: DS BX: DS


8086 program for addition of two 64 bit numbers?

8150


What are the ratings and certificates for Di si zhang hua - 2010?

Di si zhang hua - 2010 is rated/received certificates of: Singapore:NC-16


What type of dance features the do-di-do?

The do-si-do is in a square dance. Never heard of a do-di-do.


Write a procedure that multiplies di by si and divides result by 100h.Make sure that the result is left in ax upon returning from the procedurethis procedure may not change any register except ax?

MUL PROC NEAR MUL1: MOV AL,SI MOV BL,DI MUL BL MOV BL,100H DIV BL .ENDP BY Haseeb Khan :)