Skip to content

A program written in ANSI C that structure and align Assembly programs for better visualization

License

Notifications You must be signed in to change notification settings

gmorales08/AsmAlign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsmAlign

AsmAlign is a command line tool for format files written in asembly language. AsmAlign align the instructions and the arguments in the same column for better visualization.

Usage

asmAlign [options] <input file>

Options

  • -i<number> Specifies the lenght of the instructions. It must be a value between 1 and 9. If doesnt specify, the default value is 4.

  • -s<number> Specifies the separation between the instruction and the arguments. It must be a value between 1 and 9. If doesnt specify, the default value is 1.

  • -u Change all instructions to upper case.

  • -t Trim white spaces between arguments.

  • --usage Show the usage information.

Prebuilt options by architecture

  • --z80 For Z80 asembler. Equals -i4 -s1.

Visual information

./asmAlign -i4 -s1

example1

./asmAlign -i5 -s2

example1

Example

Using AsmAlign with the file test.asm

The program align the file and generates a backup file with the old content.

./asmAlign test.asm

example1

Example with -u and -t options

./asmAlign test.asm -u -t

example1

About

A program written in ANSI C that structure and align Assembly programs for better visualization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published