An excessively simple, and fairly unoptimized, AVR® assembler.

kd c7233d1aec Change LICENSE to 0BSD 5 years ago
LICENSE c7233d1aec Change LICENSE to 0BSD 5 years ago
Makefile a45bc1e36d Recreate the repository 5 years ago
README a45bc1e36d Recreate the repository 5 years ago
avas.1 a45bc1e36d Recreate the repository 5 years ago
avas.c a45bc1e36d Recreate the repository 5 years ago
memonic.h a45bc1e36d Recreate the repository 5 years ago
mtable.awk a45bc1e36d Recreate the repository 5 years ago
mtable.txt a45bc1e36d Recreate the repository 5 years ago

README

NAME
avas – An excessively simple AVR® assembler.

SYNOPSIS
avas [-o output]

DESCRIPTION
avas is an excessively simple, and fairly unoptimized, AVR® assembler.

The arguments are as follows:

-o output
Write to the file output, or to "a.out" if no output is
specified.

EXTENSIONS
Literals
When not part of an instruction, any number encountered is
treated as a literal octet, unless the 'WORDS' mnemonic was seen
before another mnemonic, in that case the number is treated as a
16-bit little-endian word. When a '"' is encountered value
between it and the terminating are treated as a literal '"'.

WORD Treat the following number as a 16-bit little-endian value.

WORDS Treat any numbers preceding another mnemonic as 16-bit little-
endian values, or stop doing so.

END Stops the assembly of the file.

EXIT STATUS
The avas utility exits 0 on success, and >0 if an error occurs.

CAVEATS
avas does not expect commas, register prefixed with 'r', and does not
adjust any of the arguments. Some mnemonics have been split into
multiple mnemonics.

ATTRIBUTION
AVR® are registered trademarks or trademarks of Atmel Corporation or its
subsidiaries, in the US and/or other countries.