File: 0020_cmp.tst

package info (click to toggle)
libx86emu 3.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,244 kB
  • sloc: ansic: 11,621; perl: 949; makefile: 92; sh: 14
file content (44 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (6)
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
[init srand=17]

0x20100-0x2010d: rand

eax=rand ebx=rand ecx=rand edx=rand esi=rand ebp=rand
edi=0x100
ds=0x2000 ss=0x3000

[code start=0x100:0x0]

	cmp [di],cl
	pushf
	cmp dl,ch
	pushf
	cmp ch,[di+1]
	pushf
	db 0x3a, 0xf1		; cmp dh,cl
	pushf

	cmp [di+2],bx
	pushf
	cmp bp,si
	pushf
	cmp si,[di+4]
	pushf
	db 0x3b, 0xd3		; cmp dx,bx
	pushf

	cmp [di+6],ebx
	pushf
	cmp ebp,esi
	pushf
	cmp esi,[di+10]
	pushf
	db 0x66, 0x3b, 0xd3	; cmp edx,ebx
	pushf

	cmp al,0x97
	pushf
	cmp ax,0x1257
	pushf
	cmp eax,0x87493052
	pushf