File: imm64.asm

package info (click to toggle)
nasm 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,364 kB
  • sloc: ansic: 91,190; asm: 21,678; perl: 5,874; makefile: 546; sh: 313; python: 78; sed: 11
file content (61 lines) | stat: -rw-r--r-- 1,997 bytes parent folder | download | duplicates (18)
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
;Testname=imm64-O0; Arguments=-O0 -fbin -oimm64.bin; Files=stdout stderr imm64.bin
;Testname=imm64-O1; Arguments=-O1 -fbin -oimm64.bin; Files=stdout stderr imm64.bin
;Testname=imm64-Ox; Arguments=-Ox -fbin -oimm64.bin; Files=stdout stderr imm64.bin

	bits 64
	mov rax,11223344h
	mov rax,dword 11223344h
	mov eax,11223344h
	mov [rax],dword 11223344h		; 32-bit operation
	mov qword [rax],11223344h
	mov qword [rax],dword 11223344h

	mov rax,0_ffffffff_8899aabbh
	mov rax,dword 0_ffffffff_8899aabbh
	mov eax,0_ffffffff_8899aabbh
	mov [rax],dword 0_ffffffff_8899aabbh	; 32-bit operation
	mov qword [rax],0_ffffffff_8899aabbh
	mov qword [rax],dword 0_ffffffff_8899aabbh

	mov rax,7fffffffh
	mov rax,80000000h
	mov rax,0_ffffffffh
	mov rax,1_00000000h
	mov rax,0_ffffffff_7fffffffh
	mov rax,0_ffffffff_80000000h

	mov rax,0_11223344_8899aabbh
	mov rax,dword 0_11223344_8899aabbh
	mov eax,0_11223344_8899aabbh
	mov [rax],dword 0_11223344_8899aabbh	; 32-bit operation
	mov qword [rax],0_11223344_8899aabbh
	mov qword [rax],dword 0_11223344_8899aabbh
	
	mov rax,strict 11223344h
	mov rax,strict dword 11223344h
	mov eax,strict 11223344h
	mov [rax],strict dword 11223344h		; 32-bit operation
	mov qword [rax],strict 11223344h
	mov qword [rax],strict dword 11223344h

	mov rax,strict 0_ffffffff_8899aabbh
	mov rax,strict dword 0_ffffffff_8899aabbh
	mov eax,strict 0_ffffffff_8899aabbh
	mov [rax],strict dword 0_ffffffff_8899aabbh	; 32-bit operation
	mov qword [rax],strict 0_ffffffff_8899aabbh
	mov qword [rax],strict dword 0_ffffffff_8899aabbh

	mov rax,strict 7fffffffh
	mov rax,strict 80000000h
	mov rax,strict 0_ffffffffh
	mov rax,strict 1_00000000h
	mov rax,strict 0_ffffffff_7fffffffh
	mov rax,strict 0_ffffffff_80000000h

	mov rax,strict 0_11223344_8899aabbh
	mov rax,strict dword 0_11223344_8899aabbh
	mov eax,strict 0_11223344_8899aabbh
	mov [rax],strict dword 0_11223344_8899aabbh	; 32-bit operation
	mov qword [rax],strict 0_11223344_8899aabbh
	mov qword [rax],strict dword 0_11223344_8899aabbh