Цитата(ReAl @ Jul 30 2007, 09:25)

http://srecord.sourceforge.net/Что значит "всю память"?
Какая разница по скольку байт на строке - получившийся файл всё равно не читать глазами, а компилятору всё равно.
я тоже так думал, нашёл bin2asm в нете, он мне выдал так
Код
.DB 0x0d
.DB 0x4f
.DB 0x00
.DB 0x00
.DB 0x45
.DB 0x00
.DB 0x03
.DB 0x6f
.DB 0x00
.DB 0x00
.DB 0x6d
.DB 0xa0
.DB 0x00
AVR Studio написала кучу ворнингов вот таких
warning: .cseg .db misalignment - padding zero byte
потом нашел в хелпе
Цитата
If the DB directive is given in a Code Segment and the expressionlist contains more than one expression, the expressions are packed so that two bytes are placed in each program memory word. If the expressionlist contains an odd number of expressions, the last expression will be placed in a program memory word of its own, even if the next line in the assemby code contains a DB directive. The unused half of the program word is set to zero. A warning is given, in order to notify the user that an extra zero byte is added to the .DB statement
получается что если размещать в строки по одному байту займет в памяти в 2 раза больше места