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