Story

Show HN: Torque – A lightweight meta-assembler for any processor

benbridle Tuesday, April 15, 2025

Hello everyone, I've been working on this project for the past few months.

Torque is a meta-assembler: instead of having an instruction set built into the assembler, you use macros to build up a small language that decribes an instruction set and then you use that to write your program. It's designed to work for any microcontroller/processor architecture, you build from the bit level upwards so there aren't any assumptions around word widths, instruction formats, or endianness.

I created Torque initially to write programs for a PIC microcontroller, after running into difficulties with the official assembler. I've also used it to write programs for the Z80 processor inside an old TRS-80 computer.

Let me know if you try it out or have any questions!

Summary
Torque is an open-source JavaScript library that provides a simple and efficient way to create dynamic and responsive user interfaces. It offers a lightweight and modular design, making it suitable for a wide range of web development projects.
78 30
Summary
benbridle.com
Visit article Read on Hacker News Comments 30