Skip to content

rmarkus231/casm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOW TO USE

build with make

  • make

running hello world test case

  • this comes with a file called "test.txt", it contains hello world in brainfuck
  • "make r" runs this test case
  • to run custom brainfuck use "./main filename" where filename is the file containing brainfuck

building asm from files

  • to build the asm of "test.txt" run "make asm", this will build a file called brainfuck using test.txt
  • to build asm of custom brainfuck files do "./main filename asm", this will print the asm to console
  • to put the generated asm into a file do "./main filename asm > out.asm" where out.asm is the file you can compile with the asm32 compiler of your choice
  • you can always change the makefile to use a different file with "make asm"

common pitfalls

  • upon changing code, make sure to "make" before using "make asm" because "make asm" uses the current build of main

About

c & asm school work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published