If the former, see here: http://cs.nyu.edu/courses/fall02/V22.0201-001/nasm_doc_html/nasmdoc3.html#section-3.5.6[^]

If the latter, see here: http://cs.nyu.edu/courses/fall02/V22.0201-001/nasm_doc_html/nasmdocb.html#section-B.4.59[^]

**"yes...i have referred to the manuals but still had problems in figuring out the operation.**

Could you please help me with an example probably with the below values in terms of nasm 16-bit?

64/16

remainder=0

quotient=4

please..."

Could you please help me with an example probably with the below values in terms of nasm 16-bit?

64/16

remainder=0

quotient=4

please..."

This is not rocket science...:laugh:

```
mov dx, 0
mov ax, 64
mov bx, 16
div bx
```

AX == 4, DX == 0