Skip to content

Commit 9bdb522

Browse files
committed
Fix Translation.
1 parent 024ce43 commit 9bdb522

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

1.6/ja/book/inline-assembly.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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")))]
5555
fn 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}");
160160
asm!("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

Comments
 (0)