Romasm Documentation

Complete reference for the Romasm assembly language and ecosystem

Getting Started

Quick Start

Learn the basics of Romasm in minutes. Write your first program and understand the core concepts.

Read More →

Language Overview

Understand what Romasm is, how it works, and why it's unique. Learn about the virtual machine architecture.

Read More →

Installation & Setup

Get Romasm running in your browser. No installation required - it's all web-based!

Read More →

Basic Romasm

The original Romasm concept: binary-like operations using Roman numerals as register states.

Read More →

Romasm Extended

Advanced features: fractions (radix point), negative numbers, and Instruction Set Architecture.

Read More →

Language Reference

Instruction Set

Complete reference for all Romasm instructions: arithmetic, control flow, memory operations, and more.

Read More →

Registers

Learn about Romasm's register system using Roman numerals (R0-R8 → I-IX).

Read More →

Syntax & Conventions

Assembly syntax, labels, comments, addressing modes, and coding conventions.

Read More →

Memory & Stack

Understanding memory addressing, the stack, and how to manage data structures.

Read More →

Standard Library

Basic Math

Factorial, power, square root, and other fundamental mathematical functions.

Read More →

Trigonometry

Sine, cosine, tangent, and argument reduction using Taylor series approximations.

Read More →

Calculus

Numerical differentiation and integration: derivatives, definite integrals, Simpson's rule.

Read More →

Advanced Math

Exponential functions, natural logarithm, and other advanced mathematical operations.

Read More →

Binary Operations

Bitwise operations: AND, OR, XOR, NOT for low-level bit manipulation.

Read More →

Big Integer Support

Arbitrary-precision arithmetic for numbers beyond JavaScript's safe integer limit.

Read More →

Tools & Applications

Basic Romasm

The original Romasm concept: binary-like operations using Roman numerals as register states.

Read More →

Romasm Extended

Advanced features: fractions (radix point), negative numbers, and Instruction Set Architecture.

Read More →

IDE

The Romasm Integrated Development Environment. Write, assemble, and debug Romasm code.

Read More →

Romasm Calculator

Full-featured graphics calculator powered entirely by Romasm assembly. Plot functions, polar curves, and more.

Read More →

Graphics Calculator

Original graphics calculator for plotting Romasm functions with customizable bounds.

Read More →

Expression Parser

Convert mathematical expressions (like "2+2", "sin(30)") into Romasm assembly code.

Read More →

Text to Romasm

Convert text to Roman numeral representation - like "text to binary" but with Roman numerals.

Try It →

System Architecture

Assembler

How the Romasm assembler translates assembly code into executable instructions.

Read More →

Virtual Machine

The Romasm VM architecture: instruction execution, registers, memory, and the execution loop.

Read More →

Linker

How the linker combines user code with standard library functions and resolves function calls.

Read More →

Canvas Drawing

Drawing opcodes (MOVE, DRAW, STROKE, CLEAR) for direct canvas manipulation from Romasm code.

Read More →

RomanOS - Bootable OS

Build a real operating system in Romasm! Compiles to x86 machine code and runs on real hardware.

Read More →

x86 Code Generator

Converts Romasm VM instructions to real x86 assembly for native execution on hardware.

Read More →

Optimizer

Advanced optimizations: peephole, constant folding, dead code elimination, and smart register allocation.

Read More →

Problem Explorers

Collatz Conjecture

Explore the 3n+1 problem using Romasm with BigInt support for massive numbers.

Read More →

Twin Primes

Search for large twin prime pairs using Romasm's prime checking algorithms.

Read More →

Goldbach Conjecture

Verify that even numbers are the sum of two primes using Romasm assembly.

Read More →

Erdos-Straus Conjecture

Find unit fraction decompositions of 4/n using Romasm computations.

Read More →

Beal Conjecture

Search for counterexamples to A^x + B^y = C^z using Romasm power calculations.

Read More →

Legendre's Conjecture

Verify primes between n² and (n+1)² using Romasm prime checking.

Read More →

Mersenne Primes

Search for Mersenne primes (2^p - 1) where p is prime, using Romasm.

Read More →

Brocard's Problem

Find solutions to n! + 1 = m² using Romasm factorial and square root functions.

Read More →

Perfect Numbers

Search for perfect numbers where sum of divisors equals the number.

Read More →

Pascal's Triangle

Generate and analyze Pascal's Triangle using Romasm binomial coefficient calculations.

Read More →

All Explorers

Overview of all problem explorers and their common features.

Read More →

Examples & Tutorials

Basic Examples

Simple programs to get started: arithmetic, loops, conditionals, and function calls.

Read More →

Math Examples

Mathematical computations: calculating factorials, powers, square roots, and more.

Read More →

Graphics Examples

Drawing shapes, plotting functions, and creating visualizations with canvas opcodes.

Read More →