Get the latest tech news

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


vides the tools necessary to write programs for any processor architecture. For a quick overview of the language, either read the language overview section of the manual, see this example of a completed program, or skim one of the following hands-on tutorials: For a demonstration of how to write high-level optimising macros in Torque, see: Background Existing assemblers for embedded processors suffer from a number of issues.

Torque is a lightweight meta-assembler that provides the tools necessary to write programs for any processor architecture. Torque is designed around the idea that any assembly language can be emulated with just integers, bit sequences, labels, and sufficiently powerful macros. With Torque, the instruction encoding for a target processor can be defined as a set of macros in the program itself, using templates to specify how values are packed into ranges of bits.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of processor

processor

Photo of assembler

assembler

Photo of Torque

Torque

Related news:

News photo

It's Official: Nvidia Is Making The Nintendo Switch 2's Processor

News photo

Microsoft’s New Majorana 1 Processor Could Transform Quantum Computing

News photo

Customasm – An assembler for custom, user-defined instruction sets