I keep getting a segmentation fault error when running my code. Everything has compiled well, but I can\'t seem to get it to do what I want. The program is to ask the user to e
the problem seems to be here. You have to zero out edx since is is the high order word of the divisor, so probably you're getting something like a division overflow exception.
If this isn't the case probably the problem is in some of your I/O routines