Jump to content


Grim Reaper's Content

There have been 1 items by Grim Reaper (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#279388 CC-ASM: A novelty assembly language for ComputerCraft

Posted by Grim Reaper on 02 March 2020 - 05:40 AM in Programs

CC-ASM: Novelty Assembler for ComputerCraft

This project implements a simple assembly-like language for Computer Craft.

Features
* Compiled 68k-esque assembly language for Computer Craft.
* API for compiling and running CC-ASM programs.
* API for adding your own instructions.
* Standalone CC-ASM program debugger.
* XUnit-inspired test runner for Computer Craft.

Code and Usage: https://github.com/Trystan-C/CC-ASM


Debugger
CC-ASM comes with a visual debugger that can be used to view memory, view registers,
and step the CPU.
Spoiler

Demos
To show that you can do some neat things with CC-ASM, I've written a really, really
simple pong clone in the language. It flickers a lot, but it works.

Spoiler

Demo Code
https://pastebin.com/whxBK2cu