Skip to content

Fybex/brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 

Repository files navigation

Brainfuck Interpreter in Assembly

This repository contains an Assembly language implementation of a Brainfuck interpreter, developed as part of a contest focused on creating the smallest possible .com executable for DOS.

File Structure

  • main.asm: The main Assembly source code file for the Brainfuck interpreter.

How to Use

  1. Write your Brainfuck program into a file.
  2. Run the Brainfuck interpreter with the Brainfuck program file as an argument.
  3. The interpreter will read the Brainfuck program and interpret it.

Building

tasm /s /m /n /q /zn main.asm
tlink /3 /t /n /x main.obj

Usage

main code.b <input.txt >output.txt

About

An Assembly language implementation of a Brainfuck interpreter

Resources

Stars

Watchers

Forks