Example Analysis of 16-bit div Divisor in 8086 Assembly basis
8086 compilation of the basis of the div divisor of 16-bit example analysis, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can get something.
IDE: Masm for Windows Integrated Experimental Environment 2015
OS: Windows 10 x64
Typesetting: Markdown
blog: my.oschina.net/zhichengjiu
Instruction brief 32-bit divided by 16-bit = quotient remainder high 16-bit low 16-bit DX AX AX DXcodeDATAS SEGMENT; enter data segment code db 99h dw 1234h dd 87654321h DATAS ENDSSTACKS SEGMENT here; enter stack segment code STACKS ENDSCODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKSSTART: MOV AX,DATAS MOV DS,AX 84523-> 14A2Bh; 84523-> 64h; 845-> 34dh; 23-> 17h mov dx,1h mov ax,4a2bh mov bx,64h div bx MOV AH,4CH INT 21HCODES ENDS END STARTdebug
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.