Files
SyncHome/trunk/AVRProjects/ATTiny2313-primo_asm/tiny2313a_primo.lst
2023-03-13 09:01:12 +00:00

65 lines
2.8 KiB
Plaintext

gavrasm Gerd's AVR assembler version 3.5 (C)2015 by DG4FAC
----------------------------------------------------------
Source file: tiny2313a_primo.avr
Hex file: tiny2313a_primo.hex
Eeprom file: tiny2313a_primo.eep
Compiled: 26.07.2016, 11:35:04
Pass: 2
1: ;* ******************************************************** *
2: ; ATtiny 2313/4313 Pin map
3: ; +-\/-+
4: ; /Reset PA2 1|o |20 Vcc
5: ; RXD PD0 2| |19 PB7 SCK
6: ; TXD PD1 3| |18 PB6 MISO
7: ; PA1 4| |17 PB5 MOSI
8: ; PA0 5| |16 PB4 OC1B
9: ; PD2 6| |15 PB3 OC1A
10: ; PD3 7| |14 PB2 OC0A
11: ; PD4 8| |13 PB1 AIN1
12: ; OC0B PD5 9| |12 PB0 AIN0
13: ; GND 10| |11 PD6
14: ; +----+
15: ;* ******************************************************** */
16:
17: ; Define processor type on top of the source code
18: ;
19: .DEVICE ATtiny2313A
20:
21: ; Int-Vector area
22: .CSEG
23: .ORG $0000
24: 000000 C012 rjmp Setup ; for all types
25: 000001 9518 reti ; External Int0 Vector, not used
26: 000002 9518 reti ; External Int1 Vector, not used
27: 000003 9518 reti ; Timer Tim1_Capt, not used
28: 000004 9518 reti ; Timer Tim1_CompA, not used
29: 000005 9518 reti ; Timer Tim1_Ovf, not used
30: 000006 9518 reti ; Timer Tim0_Ovf, used
31: 000007 9518 reti ; Usart_RXC, not used
32: 000008 9518 reti ; Usart_dre, not used
33: 000009 9518 reti ; Usart_TXC, not used
34: 00000A 9518 reti ; ANA_COMP ; Analog Comparator Handler
35: 00000B 9518 reti ; PCINT ; Pin Change Interrupt
36: 00000C 9518 reti ; TIMER1_COMPB ; Timer1 Compare B Handler
37: 00000D 9518 reti ; TIMER0_COMPA ; Timer0 Compare A Handler
38: 00000E 9518 reti ; TIMER0_COMPB ; Timer0 Compare B Handler
39: 00000F 9518 reti ; USI_START ; USI Start Handler
40: 000010 9518 reti ; USI_OVERFLOW ; USI Overflow Handler
41: 000011 9518 reti ; EE_READY ; EEPROM Ready Handler
42: 000012 9518 reti ; WDT_OVERFLOW ; Watchdog Overflow Handler
43:
44: Setup:
45: 000013 94F8 cli ; Disable Interrupts
46: 000014 ED0F ldi r16, low(RAMEND)
47: 000015 BF0D out SPL,r16 ;Set Stack Pointer to top of RAM
48: Main:
49: 000016 CFFF rjmp Main ; infinite loop
Program : 23 words.
Constants : 0 words.
Total program memory: 23 words.
Eeprom space : 0 bytes.
Data segment : 0 bytes.
Compilation completed, no errors.
Compilation endet 26.07.2016, 11:35:04