Jump to content

Recommended Posts

Posted

Num dw 001h, 3880h

mov dx, num

mov ax, num+2

mov bx,8

idiv bx

 

after converting to 32 bit... is this correct?

 

Large dw 001h, 3880h <----- i am not sure if this line is correct... any help?

mov edx, num

mov eax, num+2

mov ebx,8

idiv ebx

Posted

Large dw 001h, 3880h <----- i am not sure if this line is correct... any help?

 

I think that you want dd and not dw if you want to declare a 4byte word . . . ..

 

big **IF**

 

if you just want a 2byte word then it is fine . . . .

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.