Jump to content




CC-ASM: A novelty assembly language for ComputerCraft


  • You cannot reply to this topic
No replies to this topic

#1 Grim Reaper

  • Members
  • 503 posts
  • LocationSeattle, WA

Posted 02 March 2020 - 05:40 AM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users