1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
;--- TEST instruction
.286
.model small
.386
.data
m08 label byte
m16 label word
m32 label dword
.code
test al,1
test ax,2
test eax,-1
test bl,1
test bx,2
test ebx,32
test al,bl
test ax,cx
test eax,edx
test bl,cl
test bx,cx
test ebx,edx
test al,m08
test ax,m16
test eax,m32
test bl,m08
test bx,m16
test ebx,m32
test m08,al
test m16,ax
test m32,eax
test m08,bl
test m16,bx
test m32,ebx
test m08,1
test m08,-1
test m16,2
test m16,-1
test m32,3
end