File: string-ok.s

package info (click to toggle)
binutils 2.31.1-16
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 309,412 kB
  • sloc: ansic: 1,161,194; asm: 638,508; cpp: 128,829; exp: 68,580; makefile: 55,828; sh: 22,360; yacc: 14,238; lisp: 13,272; perl: 2,111; ada: 1,681; lex: 1,652; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (92 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download | duplicates (11)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
	.text
	.code32
start32:
	cmpsb	(%edi), %cs:(%esi)
	cmpsb	%es:(%edi), (%esi)
	cmpsb	(%di), (%si)
	cmpsb	(%esi), (%edi)

	insb	(%dx), %es:(%edi)
	insb	(%dx), (%esi)

	lodsb	%cs:(%esi)
	lodsb	(%edi)

	movsb	%cs:(%esi), (%edi)
	movsb	(%esi), %es:(%edi)
	movsb	(%si), (%di)
	movsb	(%ebx), (%edi)
	movsb	(%esi), (%ebx)

	outsb	%cs:(%esi), (%dx)
	outsb	(%edi), (%dx)

	scasb	%es:(%edi)
	scasb	(%esi)

	stosb	%es:(%edi)
	stosb	(%esi)

	xlat	(%ebx)
	xlat	(%bx)
	xlat	%ds:(%ebx)
	xlatb
	xlatb	(%ebx)
	xlatb	%cs:(%ebx)

	.code16
start16:
	cmpsb	(%di), (%si)
	movsb	(%esi), (%edi)

	.code64
start64:
	cmpsb	(%rdi), (%rsi)
	movsb	(%esi), (%edi)

	.intel_syntax noprefix
	.code32
intel32:
	cmps	byte ptr cs:[esi], [edi]
	cmps	byte ptr [esi], es:[edi]
	cmps	byte ptr [esi], byte ptr [edi]
	cmps	byte ptr [si], [di]
	cmps	byte ptr [edi], [esi]

	ins	byte ptr es:[edi], dx
	ins	byte ptr [esi], dx

	lods	byte ptr cs:[esi]
	lods	byte ptr [edi]

	movs	byte ptr [edi], cs:[esi]
	movs	byte ptr es:[edi], [esi]
	movs	byte ptr [edi], byte ptr [esi]
	movs	byte ptr [di], [si]
	movs	byte ptr [edi], [ebx]
	movs	byte ptr [ebx], [esi]

	outs	dx, byte ptr cs:[esi]
	outs	dx, byte ptr [edi]

	scas	byte ptr es:[edi]
	scas	byte ptr [esi]

	stos	byte ptr es:[edi]
	stos	byte ptr [esi]

	xlatb
	xlat	[bx]
	xlat	ds:[ebx]
	xlat	byte ptr [ebx]
	xlat	byte ptr cs:[ebx]

	.code16
intel16:
	cmps	byte ptr [si], [di]
	movs	byte ptr [edi], [esi]

	.code64
intel64:
	cmps	byte ptr [rsi], [rdi]
	movs	byte ptr [edi], [esi]