Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09c01b5

Browse files
committedJun 17, 2018
remove typo
1 parent 1a8d392 commit 09c01b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎chapter1_assembly_primer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ type g struct {
444444

445445
epilogue 部分的代码就很直来直去了: 它直接调用 runtime 的函数,对应的函数会将栈进行扩张,然后再跳回到函数的第一条指令去(就是指 prologue部分)。
446446

447-
`CALL` 之前出现的 `NOP` 这个指令使 prologue 部分不会直接跳到 `CALL` 指令位置。在一些平台上,这样能够,直接跳到 `CALL` 可能会有一些麻烦的问题;所以在调用位置插一个 noop 的指令并在跳转时跳到这个 `NOP` 位置是一种最佳实践。
447+
`CALL` 之前出现的 `NOP` 这个指令使 prologue 部分不会直接跳到 `CALL` 指令位置。在一些平台上,直接跳到 `CALL` 可能会有一些麻烦的问题;所以在调用位置插一个 noop 的指令并在跳转时跳到这个 `NOP` 位置是一种最佳实践。
448448

449449
### 缺失的细节
450450

0 commit comments

Comments
 (0)
Please sign in to comment.