We all know the output in register eax would be 3. and the remainder 1 would be in edx. How would i combine them into register eax as a decimal. I have tried this..
1 2 3 4 5 6
mov eax, 22
mov ebx, 7
div ebx
mov DWORD PTR pi,eax ;store low order bits
mov DWORD PTR pi+2,edx ;store high order bits following low.
but that combines them into a combined number not a decimal number..