
BrakeControl.elf:     file format elf32-avr

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000056  00000000  00000000  00000054  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .debug_aranges 00000020  00000000  00000000  000000aa  2**0
                  CONTENTS, READONLY, DEBUGGING
  2 .debug_pubnames 0000001b  00000000  00000000  000000ca  2**0
                  CONTENTS, READONLY, DEBUGGING
  3 .debug_info   00000076  00000000  00000000  000000e5  2**0
                  CONTENTS, READONLY, DEBUGGING
  4 .debug_abbrev 00000041  00000000  00000000  0000015b  2**0
                  CONTENTS, READONLY, DEBUGGING
  5 .debug_line   0000007b  00000000  00000000  0000019c  2**0
                  CONTENTS, READONLY, DEBUGGING
  6 .debug_frame  00000020  00000000  00000000  00000218  2**2
                  CONTENTS, READONLY, DEBUGGING
  7 .debug_str    0000008a  00000000  00000000  00000238  2**0
                  CONTENTS, READONLY, DEBUGGING

Disassembly of section .text:

00000000 <__vectors>:
   0:	09 c0       	rjmp	.+18     	; 0x14 <__ctors_end>
   2:	0e c0       	rjmp	.+28     	; 0x20 <__bad_interrupt>
   4:	0d c0       	rjmp	.+26     	; 0x20 <__bad_interrupt>
   6:	0c c0       	rjmp	.+24     	; 0x20 <__bad_interrupt>
   8:	0b c0       	rjmp	.+22     	; 0x20 <__bad_interrupt>
   a:	0a c0       	rjmp	.+20     	; 0x20 <__bad_interrupt>
   c:	09 c0       	rjmp	.+18     	; 0x20 <__bad_interrupt>
   e:	08 c0       	rjmp	.+16     	; 0x20 <__bad_interrupt>
  10:	07 c0       	rjmp	.+14     	; 0x20 <__bad_interrupt>
  12:	06 c0       	rjmp	.+12     	; 0x20 <__bad_interrupt>

00000014 <__ctors_end>:
  14:	11 24       	eor	r1, r1
  16:	1f be       	out	0x3f, r1	; 63
  18:	cf e9       	ldi	r28, 0x9F	; 159
  1a:	cd bf       	out	0x3d, r28	; 61
  1c:	02 d0       	rcall	.+4      	; 0x22 <main>
  1e:	19 c0       	rjmp	.+50     	; 0x52 <_exit>

00000020 <__bad_interrupt>:
  20:	ef cf       	rjmp	.-34     	; 0x0 <__vectors>

00000022 <main>:
//----------------------------------------------------------------------------//
/// MAIN Application Function
///
/// Timing Application Main Routine.
//----------------------------------------------------------------------------//
{
  22:	df 93       	push	r29
  24:	cf 93       	push	r28
  26:	cd b7       	in	r28, 0x3d	; 61
  28:	de b7       	in	r29, 0x3e	; 62
	// Initialize the ports
    PORTB = 0x00;
  2a:	e8 e3       	ldi	r30, 0x38	; 56
  2c:	f0 e0       	ldi	r31, 0x00	; 0
  2e:	10 82       	st	Z, r1
    DDRB  = 0x02;
  30:	e7 e3       	ldi	r30, 0x37	; 55
  32:	f0 e0       	ldi	r31, 0x00	; 0
  34:	82 e0       	ldi	r24, 0x02	; 2
  36:	80 83       	st	Z, r24

    // Main Loop
    for(;;)
    {
        // Set LED based on state of input
		if (PINB & 0x01)
  38:	e6 e3       	ldi	r30, 0x36	; 54
  3a:	f0 e0       	ldi	r31, 0x00	; 0
  3c:	80 81       	ld	r24, Z
  3e:	88 2f       	mov	r24, r24
  40:	90 e0       	ldi	r25, 0x00	; 0
  42:	81 70       	andi	r24, 0x01	; 1
  44:	90 70       	andi	r25, 0x00	; 0
  46:	88 23       	and	r24, r24
  48:	11 f0       	breq	.+4      	; 0x4e <__SREG__+0xf>
		{
			//(PORTB |=  (1<<PINB1));
			__asm("SBI 0x18,0x02");
  4a:	c2 9a       	sbi	0x18, 2	; 24
  4c:	f5 cf       	rjmp	.-22     	; 0x38 <__CCP__+0x4>
		}
		else
		{
			//(PORTB &= ~(1<<PINB1));
			__asm("CBI 0x18,0x02");
  4e:	c2 98       	cbi	0x18, 2	; 24
  50:	f3 cf       	rjmp	.-26     	; 0x38 <__CCP__+0x4>

00000052 <_exit>:
  52:	f8 94       	cli

00000054 <__stop_program>:
  54:	ff cf       	rjmp	.-2      	; 0x54 <__stop_program>
