movzx ebx, word [ecx + IA32_TSS._CS]\r
mov [eax - 0x8], ebx ; create CS in old stack\r
mov ebx, dword [ecx + IA32_TSS.EFLAGS]\r
- bts ebx, 8\r
+ bts ebx, 8 ; Set TF\r
mov [eax - 0x4], ebx ; create eflags in old stack\r
- mov dword [ecx + IA32_TSS.EFLAGS], ebx ; update eflags in old TSS\r
- mov eax, dword [ecx + IA32_TSS._ESP] ; Get old stack pointer\r
sub eax, 0xc ; minus 12 byte\r
mov dword [ecx + IA32_TSS._ESP], eax ; Set new stack pointer\r
\r