;unsigned char read_flash(unsigned int add); _read_flash:: mov r31,r17 mov r30,r16 lpm r16,z clr r17 ret
http://www.codebf.com/read/7227/111118
.text SPMCR = 0x37 ; void write_page (unsigned int adr, unsigned char function); _write_page:: in r20,SPMCR sbrc r20,0 rjmp _write_page MOV R31,R17 MOV R3
http://www.codebf.com/read/7227/111124
.module main.c .area text(rom, con, rel) .dbfile E:\icc\iccavr\mega8\mega8\boot\main.c .dbfunc e sendchar _sendchar fV ; c -> R16 .even _sendchar:: .dbline -1 .dbline 18 ;
http://www.codebf.com/read/7227/111128
.module keyboard.c .area lit(rom, con, rel) _unshifted:: .byte 13,9 .byte 14,96 .byte 21,'q .byte 22,49 .byte 26,'z .byte 27,'s .byte 28,'a .byte 29,'w .byte 30,50 .byte 33,'c
http://www.codebf.com/read/7227/111144
http://www.codebf.com/read/7227/111152
.module uart.c .area text(rom, con, rel) .dbfile E:\icc\iccavr\mega8\mega8\PS2_KEYBOARD\uart.c .dbfunc e putchar _putchar fV ; c -> R16 .even _putchar:: .dbline -1 .dbline
http://www.codebf.com/read/7227/111158
.module numled.c .area lit(rom, con, rel) _seg_table:: .byte 192,249 .byte 164,176 .byte 153,146 .byte 130,248 .byte 128,144 .byte 136,131 .byte 198,161 .byte 134,142 .dbfile E:\
http://www.codebf.com/read/7227/111167
.module ADC.c .area text(rom, con, rel) .dbfile E:\icc\iccavr\mega8\mega8\ADC\ADC.c .dbfunc e adc_init _adc_init fV .even _adc_init:: .dbline -1 .dbline 23 ; /**************************
http://www.codebf.com/read/7227/111170
http://www.codebf.com/read/7227/111181
http://www.codebf.com/read/7227/111189
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机