File: 0013_add.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=10]

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]

	add [di],cl
	pushf
	add dl,ch
	pushf
	add ch,[di+1]
	pushf
	db 0x02, 0xf1		; add dh,cl
	pushf

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

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

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