You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
288 lines
7.8 KiB
288 lines
7.8 KiB
10 years ago
|
|
||
|
AVRASM ver. 2.1.12 C:\Documents and Settings\Ondra\Dokumenty\AVR projekty\pokus\pokus.asm Tue Sep 04 20:36:18 2007
|
||
|
|
||
|
|
||
|
EQU SIGNATURE_000 0000001e
|
||
|
EQU SIGNATURE_001 00000090
|
||
|
EQU SIGNATURE_002 00000007
|
||
|
EQU SREG 0000003f
|
||
|
EQU SPL 0000003d
|
||
|
EQU GIMSK 0000003b
|
||
|
EQU GIFR 0000003a
|
||
|
EQU TIMSK0 00000039
|
||
|
EQU TIFR0 00000038
|
||
|
EQU SPMCSR 00000037
|
||
|
EQU OCR0A 00000036
|
||
|
EQU MCUCR 00000035
|
||
|
EQU MCUSR 00000034
|
||
|
EQU TCCR0B 00000033
|
||
|
EQU TCNT0 00000032
|
||
|
EQU OSCCAL 00000031
|
||
|
EQU TCCR0A 0000002f
|
||
|
EQU DWDR 0000002e
|
||
|
EQU OCR0B 00000029
|
||
|
EQU GTCCR 00000028
|
||
|
EQU CLKPR 00000026
|
||
|
EQU WDTCR 00000021
|
||
|
EQU EEAR 0000001e
|
||
|
EQU EEDR 0000001d
|
||
|
EQU EECR 0000001c
|
||
|
EQU PORTB 00000018
|
||
|
EQU DDRB 00000017
|
||
|
EQU PINB 00000016
|
||
|
EQU PCMSK 00000015
|
||
|
EQU DIDR0 00000014
|
||
|
EQU ACSR 00000008
|
||
|
EQU ADMUX 00000007
|
||
|
EQU ADCSRA 00000006
|
||
|
EQU ADCH 00000005
|
||
|
EQU ADCL 00000004
|
||
|
EQU ADCSRB 00000003
|
||
|
EQU MUX0 00000000
|
||
|
EQU MUX1 00000001
|
||
|
EQU ADLAR 00000005
|
||
|
EQU REFS0 00000006
|
||
|
EQU ADPS0 00000000
|
||
|
EQU ADPS1 00000001
|
||
|
EQU ADPS2 00000002
|
||
|
EQU ADIE 00000003
|
||
|
EQU ADIF 00000004
|
||
|
EQU ADATE 00000005
|
||
|
EQU ADSC 00000006
|
||
|
EQU ADEN 00000007
|
||
|
EQU ADCH0 00000000
|
||
|
EQU ADCH1 00000001
|
||
|
EQU ADCH2 00000002
|
||
|
EQU ADCH3 00000003
|
||
|
EQU ADCH4 00000004
|
||
|
EQU ADCH5 00000005
|
||
|
EQU ADCH6 00000006
|
||
|
EQU ADCH7 00000007
|
||
|
EQU ADCL0 00000000
|
||
|
EQU ADCL1 00000001
|
||
|
EQU ADCL2 00000002
|
||
|
EQU ADCL3 00000003
|
||
|
EQU ADCL4 00000004
|
||
|
EQU ADCL5 00000005
|
||
|
EQU ADCL6 00000006
|
||
|
EQU ADCL7 00000007
|
||
|
EQU ADTS0 00000000
|
||
|
EQU ADTS1 00000001
|
||
|
EQU ADTS2 00000002
|
||
|
EQU ADC1D 00000002
|
||
|
EQU ADC3D 00000003
|
||
|
EQU ADC2D 00000004
|
||
|
EQU ADC0D 00000005
|
||
|
EQU ACME 00000006
|
||
|
EQU ACIS0 00000000
|
||
|
EQU ACIS1 00000001
|
||
|
EQU ACIE 00000003
|
||
|
EQU ACI 00000004
|
||
|
EQU ACO 00000005
|
||
|
EQU ACBG 00000006
|
||
|
EQU AINBG 00000006
|
||
|
EQU ACD 00000007
|
||
|
EQU AIN0D 00000000
|
||
|
EQU AIN1D 00000001
|
||
|
EQU EEARL 0000001e
|
||
|
EQU EEAR0 00000000
|
||
|
EQU EEAR1 00000001
|
||
|
EQU EEAR2 00000002
|
||
|
EQU EEAR3 00000003
|
||
|
EQU EEAR4 00000004
|
||
|
EQU EEAR5 00000005
|
||
|
EQU EEDR0 00000000
|
||
|
EQU EEDR1 00000001
|
||
|
EQU EEDR2 00000002
|
||
|
EQU EEDR3 00000003
|
||
|
EQU EEDR4 00000004
|
||
|
EQU EEDR5 00000005
|
||
|
EQU EEDR6 00000006
|
||
|
EQU EEDR7 00000007
|
||
|
EQU EERE 00000000
|
||
|
EQU EEWE 00000001
|
||
|
EQU EEPE 00000001
|
||
|
EQU EEMWE 00000002
|
||
|
EQU EEMPE 00000002
|
||
|
EQU EERIE 00000003
|
||
|
EQU EEPM0 00000004
|
||
|
EQU EEPM1 00000005
|
||
|
EQU SREG_C 00000000
|
||
|
EQU SREG_Z 00000001
|
||
|
EQU SREG_N 00000002
|
||
|
EQU SREG_V 00000003
|
||
|
EQU SREG_S 00000004
|
||
|
EQU SREG_H 00000005
|
||
|
EQU SREG_T 00000006
|
||
|
EQU SREG_I 00000007
|
||
|
EQU SP0 00000000
|
||
|
EQU SP1 00000001
|
||
|
EQU SP2 00000002
|
||
|
EQU SP3 00000003
|
||
|
EQU SP4 00000004
|
||
|
EQU SP5 00000005
|
||
|
EQU SP6 00000006
|
||
|
EQU SP7 00000007
|
||
|
EQU ISC00 00000000
|
||
|
EQU ISC01 00000001
|
||
|
EQU SM0 00000003
|
||
|
EQU SM1 00000004
|
||
|
EQU SE 00000005
|
||
|
EQU PUD 00000006
|
||
|
EQU PORF 00000000
|
||
|
EQU EXTRF 00000001
|
||
|
EQU BORF 00000002
|
||
|
EQU WDRF 00000003
|
||
|
EQU CAL0 00000000
|
||
|
EQU CAL1 00000001
|
||
|
EQU CAL2 00000002
|
||
|
EQU CAL3 00000003
|
||
|
EQU CAL4 00000004
|
||
|
EQU CAL5 00000005
|
||
|
EQU CAL6 00000006
|
||
|
EQU CLKPS0 00000000
|
||
|
EQU CLKPS1 00000001
|
||
|
EQU CLKPS2 00000002
|
||
|
EQU CLKPS3 00000003
|
||
|
EQU CLKPCE 00000007
|
||
|
EQU DWDR0 00000000
|
||
|
EQU DWDR1 00000001
|
||
|
EQU DWDR2 00000002
|
||
|
EQU DWDR3 00000003
|
||
|
EQU DWDR4 00000004
|
||
|
EQU DWDR5 00000005
|
||
|
EQU DWDR6 00000006
|
||
|
EQU DWDR7 00000007
|
||
|
EQU SPMEN 00000000
|
||
|
EQU PGERS 00000001
|
||
|
EQU PGWRT 00000002
|
||
|
EQU RFLB 00000003
|
||
|
EQU CTPB 00000004
|
||
|
EQU PORTB0 00000000
|
||
|
EQU PB0 00000000
|
||
|
EQU PORTB1 00000001
|
||
|
EQU PB1 00000001
|
||
|
EQU PORTB2 00000002
|
||
|
EQU PB2 00000002
|
||
|
EQU PORTB3 00000003
|
||
|
EQU PB3 00000003
|
||
|
EQU PORTB4 00000004
|
||
|
EQU PB4 00000004
|
||
|
EQU PORTB5 00000005
|
||
|
EQU PB5 00000005
|
||
|
EQU DDB0 00000000
|
||
|
EQU DDB1 00000001
|
||
|
EQU DDB2 00000002
|
||
|
EQU DDB3 00000003
|
||
|
EQU DDB4 00000004
|
||
|
EQU DDB5 00000005
|
||
|
EQU PINB0 00000000
|
||
|
EQU PINB1 00000001
|
||
|
EQU PINB2 00000002
|
||
|
EQU PINB3 00000003
|
||
|
EQU PINB4 00000004
|
||
|
EQU PINB5 00000005
|
||
|
EQU GICR 0000003b
|
||
|
EQU PCIE 00000005
|
||
|
EQU INT0 00000006
|
||
|
EQU PCIF 00000005
|
||
|
EQU INTF0 00000006
|
||
|
EQU PCINT0 00000000
|
||
|
EQU PCINT1 00000001
|
||
|
EQU PCINT2 00000002
|
||
|
EQU PCINT3 00000003
|
||
|
EQU PCINT4 00000004
|
||
|
EQU PCINT5 00000005
|
||
|
EQU TOIE0 00000001
|
||
|
EQU OCIE0A 00000002
|
||
|
EQU OCIE0B 00000003
|
||
|
EQU TOV0 00000001
|
||
|
EQU OCF0A 00000002
|
||
|
EQU OCF0B 00000003
|
||
|
EQU OCR0_0 00000000
|
||
|
EQU OCR0_1 00000001
|
||
|
EQU OCR0_2 00000002
|
||
|
EQU OCR0_3 00000003
|
||
|
EQU OCR0_4 00000004
|
||
|
EQU OCR0_5 00000005
|
||
|
EQU OCR0_6 00000006
|
||
|
EQU OCR0_7 00000007
|
||
|
EQU WGM00 00000000
|
||
|
EQU WGM01 00000001
|
||
|
EQU COM0B0 00000004
|
||
|
EQU COM0B1 00000005
|
||
|
EQU COM0A0 00000006
|
||
|
EQU COM0A1 00000007
|
||
|
EQU TCNT0_0 00000000
|
||
|
EQU TCNT0_1 00000001
|
||
|
EQU TCNT0_2 00000002
|
||
|
EQU TCNT0_3 00000003
|
||
|
EQU TCNT0_4 00000004
|
||
|
EQU TCNT0_5 00000005
|
||
|
EQU TCNT0_6 00000006
|
||
|
EQU TCNT0_7 00000007
|
||
|
EQU CS00 00000000
|
||
|
EQU CS01 00000001
|
||
|
EQU CS02 00000002
|
||
|
EQU WGM02 00000003
|
||
|
EQU FOC0B 00000006
|
||
|
EQU FOC0A 00000007
|
||
|
EQU PSR10 00000000
|
||
|
EQU TSM 00000007
|
||
|
EQU WDP0 00000000
|
||
|
EQU WDP1 00000001
|
||
|
EQU WDP2 00000002
|
||
|
EQU WDE 00000003
|
||
|
EQU WDCE 00000004
|
||
|
EQU WDP3 00000005
|
||
|
EQU WDTIE 00000006
|
||
|
EQU WDTIF 00000007
|
||
|
EQU LB1 00000000
|
||
|
EQU LB2 00000001
|
||
|
EQU CKSEL0 00000000
|
||
|
EQU CKSEL1 00000001
|
||
|
EQU SUT0 00000002
|
||
|
EQU SUT1 00000003
|
||
|
EQU CKDIV8 00000004
|
||
|
EQU WDTON 00000005
|
||
|
EQU EESAVE 00000006
|
||
|
EQU SPIEN 00000007
|
||
|
EQU RSTDISBL 00000000
|
||
|
EQU BODLEVEL0 00000001
|
||
|
EQU BODLEVEL1 00000002
|
||
|
EQU DWEN 00000003
|
||
|
EQU SELFPRGEN 00000004
|
||
|
DEF XH r27
|
||
|
DEF XL r26
|
||
|
DEF YH r29
|
||
|
DEF YL r28
|
||
|
DEF ZH r31
|
||
|
DEF ZL r30
|
||
|
EQU FLASHEND 000001ff
|
||
|
EQU IOEND 0000003f
|
||
|
EQU SRAM_START 00000060
|
||
|
EQU SRAM_SIZE 00000040
|
||
|
EQU RAMEND 0000009f
|
||
|
EQU XRAMEND 00000000
|
||
|
EQU E2END 0000003f
|
||
|
EQU EEPROMEND 0000003f
|
||
|
EQU EEADRBITS 00000006
|
||
|
EQU PAGESIZE 00000010
|
||
|
EQU INT0addr 00000001
|
||
|
EQU PCI0addr 00000002
|
||
|
EQU OVF0addr 00000003
|
||
|
EQU ERDYaddr 00000004
|
||
|
EQU ACIaddr 00000005
|
||
|
EQU OC0Aaddr 00000006
|
||
|
EQU OC0Baddr 00000007
|
||
|
EQU WDTaddr 00000008
|
||
|
EQU ADCCaddr 00000009
|
||
|
EQU INT_VECTORS_SIZE 0000000a
|
||
|
DEF POM r16
|
||
|
CSEG RESET 00000010
|
||
|
CSEG LOOP 00000014
|
||
|
CSEG CEKANI 0000001b
|
||
|
CSEG L1 0000001f
|
||
|
CSEG L2 00000021
|
||
|
CSEG L3 00000023
|