Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

An old assembly pre-processor i wrote back in 2010-2011 to allow function blocks/nested function calls & loops through assembly code. I used it mostly for mips32/z80/M68K back then but works with any arch... Recursion is also supported along with loop unrolling & generated hints for debugging

License

Notifications You must be signed in to change notification settings

DimitrisVlachos/asm_macro_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asm_macro_generator

An old assembly pre-processor i wrote back in 2010-2011 to allow function blocks/nested function calls & loops through assembly code. I used it mostly for mips32/z80/M68K back then but works with any arch... Recursion is also supported along with loop unrolling & generated hints for debugging

build

g++ asm_mac_gen.cpp -O2 -std=c++11 -o macgen

Usage

./macgen source.S dest.S

Optional aguments

-ident (fixes identantion)

-tab2ws (converts hard tabs to whitespace)

-wsdepth depth (number of whitespaces in a tab (defaults to 4))

-nohints (disables comments/hints in the generated file)

About

An old assembly pre-processor i wrote back in 2010-2011 to allow function blocks/nested function calls & loops through assembly code. I used it mostly for mips32/z80/M68K back then but works with any arch... Recursion is also supported along with loop unrolling & generated hints for debugging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages