calc.asm
calc.asm copied to clipboard
Operand inversion with division
When we input ./calc "\" 2 4
, the program understands "4/2" and not "2/4" as it should. This is an important problem that should be fixed ASAP in my opinion, I might send a pull request with a fix
@Garuda1 Hey thanks a lot for stopping by and spotting this fault , i would love to accept a PR if you are already working on it ?
Well, I'm not going to lie, my assembly knowledge is limited to basic system calls and bios services... I tried to fix it but eh I was afraid to mess with registers I shouldn't bother with, sorry
@Garuda1 Not a problem , i'll fix it and close this issue when i'm done fixing but thanks a lot for spotting this problem.