Possible Duplicate:
ASM x86 integer overflow
I get a divide error- overflow and am not sure why. Here is the complete code that reproduces the error
include emu8086.inc
org 100h
mov ax, 2
mov bx, 10
div bx
mov ax, 2
mov bx, 2
div bx
ret