ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Понедельник
25 ноября
38557 Топик полностью
Алексей Мусин (06.09.2005 10:22, просмотров: 1) ответил Морковка на AVR: anybody used ASSEMBLER?
AVR Assembler 2 Command Line Options 
Like AVRASM, AVRASM2 may be used as a stand-alone program from the command line. The AVRASM2 command-line invocation syntax is shown below. Many options are the same as in AVRASM, new/changed AVRASM2 options are shown in bold and described below.

usage: avrasm2.exe [options] file.asm

 Options:
-f [O|M|I|G|E] output file format:
-fO Debug info for simulation in AVR Studio (default)
-fM Motorola hex
-fI Intel hex
-fG Generic hex format
-f- No output file
-o ofile   Put output in 'ofile'.
-d dfile   Generate debug info for simulation in AVR Studio in 'dfile'.
   Can only be used with the -f [M|I|G] option.
-l lfile   Generate listing in 'lfile'
-m mfile   Generate map in 'mfile'
-e efile   Place EEPROM contents in 'efile'
-w         Relative jumps are allowed to wrap for program ROM
   up to 4k words in size [ignored]
-C ver     Specify AVR core version
-c         Case sensitive
-1/-2      Turn on/off AVR Assembler version 1 compatibility.
-I dir     Preprocessor: Add 'dir' to include search path
-i file    Preprocessor: Explicitly pre-include file
-D name[=value] Preprocessor: Define symbol. If =value is
   omitted, it is set to 1.
-U name    Preprocessor: Undefine symbol.
-v verbosity [0-9][s]:
-vs Include target resource usage statistics
-vl Output low-level assembly code to stdout
-v0 Silent, only error messages printed
-v1 Error and warning messages printed
-v2 Error, warning, and  info messages printed (default)
-v3-v9 Unspecified, increasing amounts of assembler internal dumps.
-O i|w|e   Overlap report: ignore|warning|error [error]
-W-b|+bo|+bi Byte operand out of range warning disable|overflow|integer