- .define UART_BASE, 0x1000
- .define UART_STATUS, UART_BASE+0x4
- .define UART_RECV, UART_BASE+0x8
- .define UART_TRANS, UART_BASE+0xC
- .define UART_BAUD, UART_BASE+0x10
-
- .define UART_TRANS_EMPTY, 0
- .define UART_RECV_NEW, 1
-
- .define TIMEOUT_START, 0x13371337
- .define DEFAULT_PROG_START, 0x200
- .define STACKSTART, 0x500 ; FIXME
-;-----
-main:
- ; setup stackframe
- ldil r15, STACKSTART@lo
- ldih r15, STACKSTART@hi
- movst r15
+ .define UART_BASE, 0x2000
+ .define UART_STATUS, 0x0
+ .define UART_RECV, 0xc
+ .define UART_TRANS, 0x8