calc.asm icon indicating copy to clipboard operation
calc.asm copied to clipboard

Operand inversion with division

Open Chelsea486MHz opened this issue 8 years ago • 3 comments

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

Chelsea486MHz avatar Oct 01 '16 17:10 Chelsea486MHz

@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 ?

flouthoc avatar Oct 25 '16 08:10 flouthoc

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

Chelsea486MHz avatar Oct 25 '16 09:10 Chelsea486MHz

@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.

flouthoc avatar Oct 26 '16 05:10 flouthoc