Skip to main content
# calysto_lc3

Calysto Little Computer - LC3 Assembly Language for Jupyter

An Jupyter kernel for LC3

This requires IPython 3.

To install::

pip install calysto_lc3
python -m calysto_lc3.install

To use it, run one of:

* ipython notebook
* In the notebook interface, select 'Calysto LC3' from the 'New' menu
* ipython qtconsole --kernel calysto_lc3
* ipython console --kernel calysto_lc3

Typing `?` to the kernel gives:
```
This is the Calysto LC3 Jupyter kernel.

LC3 Interactive Magic Directives:

%bp [clear | SUSPENDHEX] - show, clear, or set breakpoints
%cont - continue running
%dis [STARTHEX [STOPHEX]] - dump memory as program
%dump [STARTHEX [STOPHEX]] - list memory in hex
%exe - execute the program
%mem HEXLOCATION HEXVALUE - set memory
%pc HEXVALUE - set PC
%reg REG HEXVALUE - set register REG to HEXVALUE
%regs - show registers
%reset - reset LC3 to start state
%step - execute the next instruction, increment PC

HEX values begin with an 'x' and are composed of 4 0-F digits or letters.
```
Additional help is available with `%help ITEM` such as `%help pc`.


Metadata

Release files for calysto_lc3 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calysto_lc3 0.6
File Size Uploaded
calysto_lc3-0.6.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for calysto_lc3 0.6
File Interpreter ABI Platform
calysto_lc3-0.6-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 45.6 kB

Release files / calysto_lc3-0.6.tar.gz

Download URL calysto_lc3-0.6.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4aba5d780c56352ac54fbd547f0877369a1150343c5f54a175f3fbfa11806826
BLAKE2b-256 checksum
How to use checksums
780b51728ede89a58e6fefdb9b46b770f448bb19c99605c21b7252cc4abdb857
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / calysto_lc3-0.6-py2.py3-none-any.whl

Download URL calysto_lc3-0.6-py2.py3-none-any.whl
Size 24.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
35135145873fc640c46880d4faf7d35f2f70e107c07a5b4a2436f05138e30731
BLAKE2b-256 checksum
How to use checksums
b33455c85d9178c9dd2f0a14cb49f728c389aa4bd61252323bd2ad6bb2790868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page