基于元核的jupyter lc-3汇编语言内核
calysto_lc3的Python项目详细描述
#calysto_lc3
calysto little computer-jupyter的lc3汇编语言
这需要ipython 3。
要安装::
pip install calysto_lc3
python-m calysto_lc3。安装
要使用它,请在笔记本界面中运行以下程序之一:
*ipython notebook
*从“new”菜单中选择“calysto lc3”
*ipython qtconsole--kernel calysto_lc3
*ipython console--kernel calysto_lc3
`对内核给出:
```
这是calysto lc3 jupyter内核。
%bp[clear suspendhex]-show,clear,或设置断点
%cont-继续运行
%dis[starthex[stophex]]-将内存转储为程序
%dump[starthex[stophex]]-以十六进制列出内存
%exe-执行程序
%mem hexlocation hexvalue-设置内存
%pc hexvalue-设置pc
%reg reg hexvalue-将寄存器reg设置为hexvalue
%regs-显示寄存器
%reset-将lc3重置为开始状态
%step-执行下一条指令,增量pc
十六进制值以“x”开头,由4个0-f数字或字母组成。
````
提供有关`%help item`的附加帮助,如`%help pc`。
calysto little computer-jupyter的lc3汇编语言
这需要ipython 3。
要安装::
pip install calysto_lc3
python-m calysto_lc3。安装
要使用它,请在笔记本界面中运行以下程序之一:
*ipython notebook
*从“new”菜单中选择“calysto lc3”
*ipython qtconsole--kernel calysto_lc3
*ipython console--kernel calysto_lc3
`对内核给出:
```
这是calysto lc3 jupyter内核。
%bp[clear suspendhex]-show,clear,或设置断点
%cont-继续运行
%dis[starthex[stophex]]-将内存转储为程序
%dump[starthex[stophex]]-以十六进制列出内存
%exe-执行程序
%mem hexlocation hexvalue-设置内存
%pc hexvalue-设置pc
%reg reg hexvalue-将寄存器reg设置为hexvalue
%regs-显示寄存器
%reset-将lc3重置为开始状态
%step-执行下一条指令,增量pc
十六进制值以“x”开头,由4个0-f数字或字母组成。
````
提供有关`%help item`的附加帮助,如`%help pc`。