Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6400 | punk_joker | 1 | ; Test new device |
2 | .device ATmega328P |
||
3 | |||
4 | ; Test number sign labels |
||
5 | #define TEST |
||
6 | .define DOTTEST |
||
7 | |||
8 | |||
9 | ; Test whitespace between function name and value |
||
10 | ldi r16, high(0) |
||
11 | ldi r17, high (0) |
||
12 | |||
13 | ;--- |
||
14 | ; Test data segment start with a number sign instead of a dot |
||
15 | ;--- |
||
16 | #DSEG |
||
17 | Buffer: .BYTE 8 ; Reserve 64 bits |
||
18 | |||
19 | ;--- |
||
20 | ; EEPROM segment |
||
21 | ;--- |
||
22 | .ESEG |
||
23 | |||
24 | ; Test line continuation |
||
25 | AVERAGE: .db 0xF0, 0xFF, \ |
||
26 | 0x55, 0xFF, \ |
||
27 | 0x55, 0x0F |