Find Related products on Amazon

Shop on Amazon

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

Published on: 2025-04-26 07:46:45

Torque is a lightweight meta-assembler that provides 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. Assemblers tend to be poorly documented, provide languages that are clunky and verbose, be bloated and difficult to operate, and work only on one operating system. Development of C compilers is often a higher priority than the development of good assemblers. Instead of learning a new assembler for every embedded processor, it would be preferrable to instead use a single general-purpose assembler for every project. Torque was created to fill this niche. Design Torque is designed around the idea that any assembly ... Read full article.