Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
hs867785578 committed Aug 11, 2023
1 parent ef1d9bc commit 4b897f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/其他笔记/图灵完备.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ BF 的工作机制与图灵机高度一致。首先它存储数据的方式是

语言里的 8 个有效字符分别是:

- >
- \>
指针向右移动一格
- <
- \<
指针向左移动一格
- +
- \+
使指针当前格数值加一
- -
- \-
使指针当前格数值减一
- .
- \.
把当前格数值按 ASCII 表输出到终端
- ,
- \,
从终端接受一 byte 的数据,存储其 ASCII 数值到当前格
- \[
当指针当前值为 0 时,程序跳转至与之对应的 ] 之后;否则程序正常执行
Expand Down

0 comments on commit 4b897f3

Please sign in to comment.