
led_villogo.elf:     file format elf32-avr

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         0000007a  00000000  00000000  00000054  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .debug_aranges 00000020  00000000  00000000  000000ce  2**0
                  CONTENTS, READONLY, DEBUGGING
  2 .debug_pubnames 0000002c  00000000  00000000  000000ee  2**0
                  CONTENTS, READONLY, DEBUGGING
  3 .debug_info   0000019d  00000000  00000000  0000011a  2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_abbrev 00000104  00000000  00000000  000002b7  2**0
                  CONTENTS, READONLY, DEBUGGING
  5 .debug_line   0000016f  00000000  00000000  000003bb  2**0
                  CONTENTS, READONLY, DEBUGGING
  6 .debug_frame  00000030  00000000  00000000  0000052c  2**2
                  CONTENTS, READONLY, DEBUGGING
  7 .debug_str    000000c5  00000000  00000000  0000055c  2**0
                  CONTENTS, READONLY, DEBUGGING
  8 .debug_ranges 00000078  00000000  00000000  00000621  2**0
                  CONTENTS, READONLY, DEBUGGING

Disassembly of section .text:

00000000 <__vectors>:                                                           
   0:	0e c0       	rjmp	.+28     	; 0x1e <__ctors_end>
   2:	15 c0       	rjmp	.+42     	; 0x2e <__bad_interrupt>
   4:	14 c0       	rjmp	.+40     	; 0x2e <__bad_interrupt>
   6:	13 c0       	rjmp	.+38     	; 0x2e <__bad_interrupt>
   8:	12 c0       	rjmp	.+36     	; 0x2e <__bad_interrupt>
   a:	11 c0       	rjmp	.+34     	; 0x2e <__bad_interrupt>
   c:	10 c0       	rjmp	.+32     	; 0x2e <__bad_interrupt>
   e:	0f c0       	rjmp	.+30     	; 0x2e <__bad_interrupt>
  10:	0e c0       	rjmp	.+28     	; 0x2e <__bad_interrupt>
  12:	0d c0       	rjmp	.+26     	; 0x2e <__bad_interrupt>
  14:	0c c0       	rjmp	.+24     	; 0x2e <__bad_interrupt>
  16:	0b c0       	rjmp	.+22     	; 0x2e <__bad_interrupt>
  18:	0a c0       	rjmp	.+20     	; 0x2e <__bad_interrupt>
  1a:	09 c0       	rjmp	.+18     	; 0x2e <__bad_interrupt>
  1c:	08 c0       	rjmp	.+16     	; 0x2e <__bad_interrupt>

0000001e <__ctors_end>:                                                         
  1e:	11 24       	eor	r1, r1
  20:	1f be       	out	0x3f, r1	; 63
  22:	cf e5       	ldi	r28, 0x5F	; 95
  24:	d1 e0       	ldi	r29, 0x01	; 1
  26:	de bf       	out	0x3e, r29	; 62
  28:	cd bf       	out	0x3d, r28	; 61
  2a:	0d d0       	rcall	.+26     	; 0x46 <main>
  2c:	24 c0       	rjmp	.+72     	; 0x76 <_exit>

0000002e <__bad_interrupt>:                                                     
  2e:	e8 cf       	rjmp	.-48     	; 0x0 <__vectors>

00000030 <m_delay_10ms>:                                                        
      #include <util/delay.h>
 
       
     //-------------------------------------
  
      void m_delay_10ms(unsigned char val) {
  30:	90 e0       	ldi	r25, 0x00	; 0
    milliseconds can be achieved.
 */
void
_delay_loop_2(uint16_t __count)
{
	__asm__ volatile (
  32:	20 e2       	ldi	r18, 0x20	; 32
  34:	3e e4       	ldi	r19, 0x4E	; 78
  36:	04 c0       	rjmp	.+8      	; 0x40 <__SREG__+0x1>
  38:	f9 01       	movw	r30, r18
  3a:	31 97       	sbiw	r30, 0x01	; 1
  3c:	f1 f7       	brne	.-4      	; 0x3a <__CCP__+0x6>
   
      // tehát nagyobb ido"zítést többo"l lehet "összerakni"
   
                 unsigned char i;
 
                 for(i=0;i<val;i++) {
  3e:	9f 5f       	subi	r25, 0xFF	; 255
  40:	98 17       	cp	r25, r24
  42:	d0 f3       	brcs	.-12     	; 0x38 <__CCP__+0x4>
  
                     _delay_ms(10);
  
                 }
  
      }
  44:	08 95       	ret

00000046 <main>:                                                                
  
      int main(void) {
 
      //-------------------------------------
 
                 DDRB = (1<<PINB3)|(1<<PINB4); //csak a PB3 és a PB4 kimenet
  46:	88 e1       	ldi	r24, 0x18	; 24
  48:	87 bb       	out	0x17, r24	; 23

                 PORTB = (1<<PINB3);    //egyiket bekapcsol
  4a:	88 e0       	ldi	r24, 0x08	; 8
  4c:	88 bb       	out	0x18, r24	; 24
  4e:	40 e2       	ldi	r20, 0x20	; 32
  50:	5e e4       	ldi	r21, 0x4E	; 78

                 while(1) {

                     if(PORTB & (1<<PINB3)) PORTB &= ~(1<<PINB3);
  52:	c3 9b       	sbis	0x18, 3	; 24
  54:	02 c0       	rjmp	.+4      	; 0x5a <main+0x14>
  56:	c3 98       	cbi	0x18, 3	; 24
  58:	01 c0       	rjmp	.+2      	; 0x5c <main+0x16>

                                       else PORTB |=  (1<<PINB3);
  5a:	c3 9a       	sbi	0x18, 3	; 24

                     if(PORTB & (1<<PINB4)) PORTB &= ~(1<<PINB4);
  5c:	c4 9b       	sbis	0x18, 4	; 24
  5e:	02 c0       	rjmp	.+4      	; 0x64 <main+0x1e>
  60:	c4 98       	cbi	0x18, 4	; 24
  62:	01 c0       	rjmp	.+2      	; 0x66 <main+0x20>

                                       else PORTB |=  (1<<PINB4);
  64:	c4 9a       	sbi	0x18, 4	; 24
  66:	20 e0       	ldi	r18, 0x00	; 0
  68:	ca 01       	movw	r24, r20
  6a:	01 97       	sbiw	r24, 0x01	; 1
  6c:	f1 f7       	brne	.-4      	; 0x6a <main+0x24>
   
      // tehát nagyobb ido"zítést többo"l lehet "összerakni"
   
                 unsigned char i;
 
                 for(i=0;i<val;i++) {
  6e:	2f 5f       	subi	r18, 0xFF	; 255
  70:	24 36       	cpi	r18, 0x64	; 100
  72:	79 f3       	breq	.-34     	; 0x52 <main+0xc>
  74:	f9 cf       	rjmp	.-14     	; 0x68 <main+0x22>

00000076 <_exit>:                                                               
  76:	f8 94       	cli

00000078 <__stop_program>:                                                      
  78:	ff cf       	rjmp	.-2      	; 0x78 <__stop_program>
