I have problems when implementing the IDIV Instruction in gcc assembler, the program has compiled ok, but when executing function that imparts the asm codes which contained the IDIV instruction the error box immediately appeared announcing that it should terminates the program quickly.
The following is the complete listing of the program that I just been working on it:
I had tried your suggestion but still not succeed,why the result printed out continues to be zero ( 0 )? what compiler did you used? thanks for your kind attention.