1# Unlockable Instructions 2 3 .text 4foo: 5 lock mov %ecx, %eax 6 lock mov (%ebx), %eax 7 8 lock add %ebx, %eax 9 lock add $0x64, %ebx 10 lock adc %ebx, %eax 11 lock adc $0x64, %ebx 12 lock and %ebx, %eax 13 lock and $0x64, %ebx 14 lock btc %eax, %ebx 15 lock btc $0x64, %ebx 16 lock btr %eax, %ebx 17 lock btr $0x64, %ebx 18 lock bts %eax, %ebx 19 lock bts $0x64, %ebx 20 lock cmpxchg %eax,%ebx 21 lock decl %ebx 22 lock incl %ebx 23 lock negl %ebx 24 lock notl %ebx 25 lock or %ebx, %eax 26 lock or $0x64, %ebx 27 lock sbb %ebx, %eax 28 lock sbb $0x64, %ebx 29 lock sub %ebx, %eax 30 lock sub $0x64, %ebx 31 lock xadd %eax, %ebx 32 lock xchg %ebx, %eax 33 lock xchg %eax, %ebx 34 lock xor %ebx, %eax 35 lock xor $0x64, %ebx 36 37 lock add (%ebx), %eax 38 lock adc (%ebx), %eax 39 lock and (%ebx), %eax 40 lock or (%ebx), %eax 41 lock sbb (%ebx), %eax 42 lock sub (%ebx), %eax 43 lock xor (%ebx), %eax 44 45 .intel_syntax noprefix 46 lock mov eax,ebx 47 lock mov eax,DWORD PTR [ebx] 48 49 lock add eax,ebx 50 lock add ebx,0x64 51 lock adc eax,ebx 52 lock adc ebx,0x64 53 lock and eax,ebx 54 lock and ebx,0x64 55 lock btc ebx,eax 56 lock btc ebx,0x64 57 lock btr ebx,eax 58 lock btr ebx,0x64 59 lock bts ebx,eax 60 lock bts ebx,0x64 61 lock cmpxchg ebx,eax 62 lock dec ebx 63 lock inc ebx 64 lock neg ebx 65 lock not ebx 66 lock or eax,ebx 67 lock or ebx,0x64 68 lock sbb eax,ebx 69 lock sbb ebx,0x64 70 lock sub eax,ebx 71 lock sub ebx,0x64 72 lock xadd ebx,eax 73 lock xchg ebx,eax 74 lock xchg ebx,eax 75 lock xor eax,ebx 76 lock xor ebx,0x64 77 78 lock add eax,DWORD PTR [ebx] 79 lock adc eax,DWORD PTR [ebx] 80 lock and eax,DWORD PTR [ebx] 81 lock or eax,DWORD PTR [ebx] 82 lock sbb eax,DWORD PTR [ebx] 83 lock sub eax,DWORD PTR [ebx] 84 lock xor eax,DWORD PTR [ebx] 85