Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1.         .device ATmega8
  2.         .org    0  
  3.         .db     1,2
  4.         .message "The previous line is ignored with avra-1.2.2 because .org 0 is terminated with CR only. "
  5.         .message "This is line 5 but avra-1.2.2 shows line 4"
  6.         .db     "X%MINUTE%YEAR%"        ; Take a look at this percent chars too : % % % %
  7.         .db     "%YEAR%HELLO%"          ; Strange replacement, if one percent char is missing
  8.         .db     "%HOUR%:%MINUTE%%"
  9.         .db     "øC"                    ; Look at the special char. (Error in listing only. HEX-file was ok)
  10.                 ; Additional warning : Don't use linux editors with UTF charset ! A single special char
  11.                 ; (Code > 127 in codepage 850 e.g. german umlauts) could be an unvisible TWO bytes sequence
  12.                 ; in UTF coding. To be on the save side never use chars with code > 127.
  13.                 ; It's better to replace them by the code e.g.  .db "M",129,"nchen" (german town 'Munich')
  14.         ldi R16, ';'                    ; This is wrong with avra-1.2.2.
  15.         ldi R16, 0x3b                   ; Should generate same code like above
  16.  
  17. ; TODO :
  18. ;       ldi     R16,high (11111)        ; "high(" is OK, "high (" isn't. Same with other functions...
  19.  
  20.