ROTI, Blatt 3, Aufgabe 3 2009-11-19 14:42:56 .text .globl main main: mov $32, %eax ret --------------------------------------------------- weberdk@gspc42 ~/Desktop >gcc -o calc calc.s weberdk@gspc42 ~/Desktop >./calc ; echo $? 32 --------------------------------------------------- .text .globl main main: mov $32, %eax mov $33, %ebx add %ebx, %eax mov $23, %ebx sub %ebx, %eax ret --------------------------------------------------- weberdk@gspc42 ~/Desktop >gcc -o calc2 calc2.s weberdk@gspc42 ~/Desktop >./calc2 ; echo $? 42