File: string-ok.s

package info (click to toggle)
binutils-riscv64-unknown-elf 2.32.2019.08+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 413,812 kB
  • sloc: ansic: 2,327,452; asm: 982,944; exp: 218,246; cpp: 147,855; makefile: 63,075; sh: 33,816; yacc: 27,082; lisp: 15,389; perl: 6,480; xml: 5,239; ada: 5,117; python: 4,996; pascal: 3,266; lex: 2,272; cs: 879; f90: 535; sed: 334; awk: 165; objc: 134; fortran: 43
file content (92 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download | duplicates (17)
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]