> I don't know how to use "ret" to achieve the same goal with fewer commands. Well, if I get it right (and it works on my system), the last lines: movb %al,result etc. (6 times) should be commented out.