初学者请问各位看看,我这样写的部分程序,编译的时候出现这样的错,怎么写是对的呢: mov r16,UART_BDRTL out UBRR0H,r17
out UCSR0B,r17
jmp USART0_RXC ; USART0接收句柄
ldi r16, 0x10FF
J:\AVR\w.asm(29): error: Invalid register J:\AVR\w.asm(30): error: Invalid register J:\AVR\w.asm(31): error: Undefined symbol: UBRR0H J:\AVR\w.asm(32): error: Undefined symbol: UBRR0L
J:\AVR\w.asm(91): error: Undefined symbol: SPI_STC J:\AVR\w.asm(93): error: Undefined symbol: USART0_DRE J:\AVR\w.asm(94): error: Undefined symbol: USART0_TXC
J:\AVR\w.asm(172): error: Operand(s) out of range in 'ldi r16,0x10ff'
|