@@ -37,7 +37,7 @@ asm!(アセンブリのテンプレート
37
37
38
38
<!-- The `assembly template` is the only required parameter and must be a -->
39
39
<!-- literal string (i.e. `""`) -->
40
- ` アセンブリテンプレート ` のみが要求されるパラメータであり、文字列リテラルである必要があります 。
40
+ ` アセンブリテンプレート ` のみが要求されるパラメータであり、文字列リテラル (例: "") である必要があります 。
41
41
42
42
``` rust
43
43
#![feature(asm)]
@@ -49,7 +49,7 @@ fn foo() {
49
49
}
50
50
}
51
51
52
- # // // other platforms
52
+ # // other platforms
53
53
// その他のプラットフォーム
54
54
#[cfg(not(any(target_arch = " x86" , target_arch = " x86_64" )))]
55
55
fn foo () { /* ... */ }
@@ -154,7 +154,7 @@ result
154
154
# #![feature(asm)]
155
155
# #[cfg(any(target_arch = " x86" , target_arch = " x86_64" ))]
156
156
# fn main () { unsafe {
157
- # // // Put the value 0x200 in eax
157
+ # // Put the value 0x200 in eax
158
158
// eaxに0x200を格納します
159
159
# // asm!("mov $$0x200, %eax" : /* no outputs */ : /* no inputs */ : "{eax}");
160
160
asm! (" mov $$0x200, %eax" : /* 出力なし */ : /* 入力無し */ : " {eax}" );
@@ -165,7 +165,7 @@ asm!("mov $$0x200, %eax" : /* 出力なし */ : /* 入力無し */ : "{eax}");
165
165
<!-- is already communicated by the given constraints. Otherwise, any other -->
166
166
<!-- registers used either implicitly or explicitly should be listed. -->
167
167
入力と出力のレジスタは変更される可能性があることが制約によってすでに伝わっているためにリストに載せる必要はありません。
168
- その以外では 、その他の暗黙的、明示的に利用されるレジスタをリストに載せる必要があります。
168
+ それ以外では 、その他の暗黙的、明示的に利用されるレジスタをリストに載せる必要があります。
169
169
170
170
<!-- If the assembly changes the condition code register `cc` should be -->
171
171
<!-- specified as one of the clobbers. Similarly, if the assembly modifies -->
0 commit comments