代码搜索结果
找到约 10,000 项符合
LED 的代码
led.s
.module led.c
.area text(rom, con, rel)
.dbfile C:\icc\examples.avr\LED\led.c
.dbfunc e Delay _Delay fV
; a -> R16
; b -> R18
.even
_Delay::
.dbline -1
.dblin
led.o
XL
H 1 areas 6 global symbols
M led.c
S push_gset1 Ref0000
S pop_gset1 Ref0000
S lsl16 Ref0000
A text size 96 flags 0
dbfile C:\icc\examples.avr\LED\led.c
dbfunc e Delay 0 fV
dbsym r a 10 c
led.hex
:040000000C942A0032
:14005400CFE5D4E0CDBFDEBFCE51D0400AEA08830024E0E66F
:14006800F0E010E0E036F10711F00192FBCF0083E4E5F0E03C
:14007C00A0E6B0E010E0E435F10721F0C89531960D92F9CFBD
:140090000E946600FFC
led.lk
led.o
led.lst
__start:
__text_start:
002A E5CF LDI R28,0x5F
002B E0D4 LDI R29,4
002C BFCD OUT 0x3D,R28
002D BFDE OUT 0x3E,R29
002E 51CE SUBI R28,0x1E
002F 40D
led.mp
NOTE: AVR Code addresses are word addresses
All other addresses (including ones in FLASH) are byte addresses
Area Addr Size Decimal Bytes (Attributes)
----------
led.lis
.module led.c
.area text(rom, con, rel)
0000 .dbfile C:\icc\examples.avr\LED\led.c
0000 .dbfunc e Delay _Delay
led.src
led.c
led.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -DATMEGA -DATMega16 -l -g -Mavr_enhanced
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bda
led._c
#include
#include
/* This seems to produce the right amount of delay for the LED to be
* seen
*/
void Delay()
{
unsigned char a, b;
for (a = 1; a; a++)
for (b