$ python ./x86.py -p looping-race-nolock.s -a bx=1 -t 2 -M 2000 -R bx -c -i 1
2000 bx Thread 0 Thread 1
0 1
0 1 1000 mov 2000, %ax
0 1 ------ Interrupt ------ ------ Interrupt ------
0 1 1000 mov 2000, %ax
0 1 ------ Interrupt ------ ------ Interrupt ------
0 1 1001 add $1, %ax
0 1 ------ Interrupt ------ ------ Interrupt ------
0 1 1001 add $1, %ax
0 1 ------ Interrupt ------ ------ Interrupt ------
1 1 1002 mov %ax, 2000
1 1 ------ Interrupt ------ ------ Interrupt ------
1 1 1002 mov %ax, 2000
1 1 ------ Interrupt ------ ------ Interrupt ------
1 0 1003 sub $1, %bx
1 1 ------ Interrupt ------ ------ Interrupt ------
1 0 1003 sub $1, %bx
1 0 ------ Interrupt ------ ------ Interrupt ------
1 0 1004 test $0, %bx
1 0 ------ Interrupt ------ ------ Interrupt ------
1 0 1004 test $0, %bx
1 0 ------ Interrupt ------ ------ Interrupt ------
1 0 1005 jgt .top
1 0 ------ Interrupt ------ ------ Interrupt ------
1 0 1005 jgt .top
1 0 ------ Interrupt ------ ------ Interrupt ------
1 0 1006 halt
1 0 ----- Halt;Switch ----- ----- Halt;Switch -----
1 0 ------ Interrupt ------ ------ Interrupt ------
1 0 1006 halt