0804902b : 804902b: 55 push %ebp 804902c: 89 e5 mov %esp,%ebp 804902e: 53 push %ebx 804902f: 8b 4d 08 mov 0x8(%ebp),%ecx ecx = (char*)x; 8049032: 8b 55 0c mov 0xc(%ebp),%edx edx = (char*)y; 8049035: 80 39 00 cmpb $0x0,(%ecx) 8049038: 74 1e je 8049058 if(*x==0) goto compare_stringsk_1; 804903a: 80 3a 00 cmpb $0x0,(%edx) 804903d: 74 19 je 8049058 if(*y==0) goto compare_stringsk_1; 804903f: 8a 01 mov (%ecx),%al compare_stringsk_3: al = *x; 8049041: bb 00 00 00 00 mov $0x0,%ebx ebx = 0; 8049046: 3a 02 cmp (%edx),%al 8049048: 75 13 jne 804905d if(*y!=*x) goto compare_stringsk_2; 804904a: 41 inc %ecx x++; 804904b: 83 c2 02 add $0x2,%edx y+=2; 804904e: 80 39 00 cmpb $0x0,(%ecx) 8049051: 74 05 je 8049058 if(*x==0) goto compare_stringsk_1; 8049053: 80 3a 00 cmpb $0x0,(%edx) 8049056: 75 e7 jne 804903f if(*y!=0) goto compare_stringsk_3; 8049058: bb 01 00 00 00 mov $0x1,%ebx compare_stringsk_1: ebx = 1; 804905d: 89 d8 mov %ebx,%eax compare_stringsk_2: return ebx; 804905f: 5b pop %ebx 8049060: 5d pop %ebp 8049061: c3 ret char compare_stringsk(char *x, char *y) { while(*x!=0 && *y!=0) { if(*x!=*y) return 0; x++; y+=2; } return 1; }