Legend Posted December 6, 2011 Posted December 6, 2011 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
Xittenn Posted December 6, 2011 Posted December 6, 2011 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 . . . .
Legend Posted December 7, 2011 Author Posted December 7, 2011 Large dd 001h, 3880h mov edx, num mov eax, num+2 mov ebx,8 idiv ebx so does it look good now?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now