質問編集履歴
1
情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,35 @@
|
|
64
64
|
|
65
65
|
mov [rax], rdi
|
66
66
|
|
67
|
+
push rdi
|
68
|
+
|
69
|
+
push offset x
|
70
|
+
|
71
|
+
pop rax
|
72
|
+
|
73
|
+
mov rax, [rax]
|
74
|
+
|
75
|
+
push rax
|
76
|
+
|
77
|
+
pop rax
|
78
|
+
|
79
|
+
mov rsp, rbp
|
80
|
+
|
81
|
+
pop rbp
|
82
|
+
|
83
|
+
ret
|
84
|
+
|
85
|
+
```
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
###実行コマンド
|
90
|
+
|
91
|
+
上記ソースをtmp.sとします。
|
92
|
+
|
67
|
-
|
93
|
+
```cmd
|
94
|
+
|
95
|
+
gcc -o tmp tmp.s
|
68
96
|
|
69
97
|
```
|
70
98
|
|