summaryrefslogtreecommitdiff
path: root/test/test67.asm
blob: 5917a1bd346a3219fa61d905260b7440107d255c (plain)
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
	bits 16

	mov ax,[bx]
	mov ax,[foo]
	mov ax,[word foo]
	mov ax,[dword foo]
	mov ax,[ebx]
	rep movsb
	a16 rep movsb
	a32 rep movsb
	a32 mov ax,bx

	bits 32

	mov ax,[bx]
	mov ax,[foo]
	mov ax,[word foo]
	mov ax,[dword foo]
	mov ax,[ebx]
	rep movsb
	a16 rep movsb
	a32 rep movsb

	bits 64

	mov ax,[rbx]
	mov ax,[foo]
	mov ax,[qword foo]
	mov ax,[dword foo]
	mov ax,[ebx]
	rep movsb
	a32 rep movsb
	a64 rep movsb

foo: