Henry's Notebook
Many strange things
搜索
菜单
导航
首页
最近更改
随机页面
帮助
Henry's Home
个人资料
个人资料
创建账户
登录
消息
目前您没有通知。请访问您的
讨论页
以查看过去消息。
页面工具
内容页面
讨论
查看源代码
历史
首页
»
页面s
查看“Shenzhen I/O”的源代码
←
Shenzhen I/O
页面上次由
HenryHu
编辑于1年前
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:emailconfirmed
您可以查看与复制此页面的源代码。
== Tricks == === Memory Chip === * Multiple digits can be saved in the same memory cell; each cell can contain 2 or 3 digits. Set a digit with `dst`; get a digit with `dgt`. To effectively extract the digits, ideally this should be done in a big chip, by putting the data into *dat* and repeatedly move it into *acc*. * Memory chip is also a great accumulator * Memory chip's address port can handle values which are bigger than the max address - it'll wrap around. So you don't need to say `tgt acc 13; +sub 13` === Processor Chip === * If the range of *acc* is limited, then the extra range can be used to store a bit. Say if the value is 0 ~ 200, then we can `sub 400` from it to use -400 ~ -200 to represent the bit = 1, and the original range to represent bit = 0. * An Xbus can be shared by multiple writer; however you should only have 1 reader. * Sometimes `jmp L` can be omitted by carefully placing +/- on the statements below. If you have another test statement, though, this becomes harder.
返回至
Shenzhen I/O
。