Commit fe2f47e7 authored by Petter Breedveld's avatar Petter Breedveld

added \r to print as well as debugger demo

parent 40e8c892
Debugger_Demo/Debug
.vs

Microsoft Visual Studio Solution File, Format Version 12.00
# Atmel Studio Solution File, Format Version 11.00
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{54F91283-7BC4-4236-8FF9-10F437C3AD48}") = "Debugger_Demo", "Debugger_Demo\Debugger_Demo.cproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|AVR = Debug|AVR
Release|AVR = Release|AVR
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.ActiveCfg = Debug|AVR
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.Build.0 = Debug|AVR
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.ActiveCfg = Release|AVR
{DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.Build.0 = Release|AVR
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8"?>
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="AtmelPackComponentManagement">
<ProjectComponents>
<ProjectComponent z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
<CApiVersion></CApiVersion>
<CBundle></CBundle>
<CClass>Device</CClass>
<CGroup>Startup</CGroup>
<CSub></CSub>
<CVariant></CVariant>
<CVendor>Atmel</CVendor>
<CVersion>1.1.0</CVersion>
<DefaultRepoPath>D:/Atmel\7.0\Packs</DefaultRepoPath>
<DependentComponents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<Description></Description>
<Files xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\include</AbsolutePath>
<Attribute></Attribute>
<Category>include</Category>
<Condition>C</Condition>
<FileContentHash i:nil="true" />
<FileVersion></FileVersion>
<Name>include</Name>
<SelectString></SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\include\avr\iotn817.h</AbsolutePath>
<Attribute></Attribute>
<Category>header</Category>
<Condition>C</Condition>
<FileContentHash>GzsE/dwQAz37AkZENa/sHg==</FileContentHash>
<FileVersion></FileVersion>
<Name>include/avr/iotn817.h</Name>
<SelectString></SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\templates\main.c</AbsolutePath>
<Attribute>template</Attribute>
<Category>source</Category>
<Condition>C Exe</Condition>
<FileContentHash>/2izaSHu7A83A1sCBdlj/Q==</FileContentHash>
<FileVersion></FileVersion>
<Name>templates/main.c</Name>
<SelectString>Main file (.c)</SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\templates\main.cpp</AbsolutePath>
<Attribute>template</Attribute>
<Category>source</Category>
<Condition>C Exe</Condition>
<FileContentHash>YXFphlh0CtZJU+ebktABgQ==</FileContentHash>
<FileVersion></FileVersion>
<Name>templates/main.cpp</Name>
<SelectString>Main file (.cpp)</SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
<d4p1:anyType i:type="FileInfo">
<AbsolutePath>D:/Atmel\7.0\Packs\atmel\ATtiny_DFP\1.1.102\gcc\dev\attiny817</AbsolutePath>
<Attribute></Attribute>
<Category>libraryPrefix</Category>
<Condition>GCC</Condition>
<FileContentHash i:nil="true" />
<FileVersion></FileVersion>
<Name>gcc/dev/attiny817</Name>
<SelectString></SelectString>
<SourcePath></SourcePath>
</d4p1:anyType>
</Files>
<PackName>ATtiny_DFP</PackName>
<PackPath>D:/Atmel/7.0/Packs/atmel/ATtiny_DFP/1.1.102/Atmel.ATtiny_DFP.pdsc</PackPath>
<PackVersion>1.1.102</PackVersion>
<PresentInProject>true</PresentInProject>
<ReferenceConditionId>ATtiny817</ReferenceConditionId>
<RteComponents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string></d4p1:string>
</RteComponents>
<Status>Resolved</Status>
<VersionMode>Fixed</VersionMode>
<IsComponentInAtProject>true</IsComponentInAtProject>
</ProjectComponent>
</ProjectComponents>
</Store>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
<ProjectVersion>7.0</ProjectVersion>
<ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName>
<ProjectGuid>dce6c7e3-ee26-4d79-826b-08594b9ad897</ProjectGuid>
<avrdevice>ATtiny817</avrdevice>
<avrdeviceseries>none</avrdeviceseries>
<OutputType>Executable</OutputType>
<Language>C</Language>
<OutputFileName>$(MSBuildProjectName)</OutputFileName>
<OutputFileExtension>.elf</OutputFileExtension>
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
<AssemblyName>Debugger_Demo</AssemblyName>
<Name>Debugger_Demo</Name>
<RootNamespace>Debugger_Demo</RootNamespace>
<ToolchainFlavour>Native</ToolchainFlavour>
<KeepTimersRunning>true</KeepTimersRunning>
<OverrideVtor>false</OverrideVtor>
<CacheFlash>true</CacheFlash>
<ProgFlashFromRam>true</ProgFlashFromRam>
<RamSnippetAddress />
<UncachedRange />
<preserveEEPROM>true</preserveEEPROM>
<OverrideVtorValue />
<BootSegment>2</BootSegment>
<eraseonlaunchrule>0</eraseonlaunchrule>
<AsfFrameworkConfig>
<framework-data xmlns="">
<options />
<configurations />
<files />
<documentation help="" />
<offline-documentation help="" />
<dependencies>
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.32.0" />
</dependencies>
</framework-data>
</AsfFrameworkConfig>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ToolchainSettings>
<AvrGcc>
<avrgcc.common.Device>-mmcu=attiny817 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\gcc\dev\attiny817"</avrgcc.common.Device>
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
<avrgcc.compiler.symbols.DefSymbols>
<ListValues>
<Value>NDEBUG</Value>
</ListValues>
</avrgcc.compiler.symbols.DefSymbols>
<avrgcc.compiler.directories.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.compiler.directories.IncludePaths>
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
<avrgcc.linker.libraries.Libraries>
<ListValues>
<Value>libm</Value>
</ListValues>
</avrgcc.linker.libraries.Libraries>
<avrgcc.assembler.general.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.assembler.general.IncludePaths>
</AvrGcc>
</ToolchainSettings>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<ToolchainSettings>
<AvrGcc>
<avrgcc.common.Device>-mmcu=attiny817 -B "%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\gcc\dev\attiny817"</avrgcc.common.Device>
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
<avrgcc.compiler.symbols.DefSymbols>
<ListValues>
<Value>DEBUG</Value>
</ListValues>
</avrgcc.compiler.symbols.DefSymbols>
<avrgcc.compiler.directories.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.compiler.directories.IncludePaths>
<avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
<avrgcc.linker.libraries.Libraries>
<ListValues>
<Value>libm</Value>
</ListValues>
</avrgcc.linker.libraries.Libraries>
<avrgcc.assembler.general.IncludePaths>
<ListValues>
<Value>%24(PackRepoDir)\atmel\ATtiny_DFP\1.1.102\include</Value>
</ListValues>
</avrgcc.assembler.general.IncludePaths>
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
</AvrGcc>
</ToolchainSettings>
</PropertyGroup>
<ItemGroup>
<Compile Include="main.c">
<SubType>compile</SubType>
</Compile>
</ItemGroup>
<Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" />
</Project>
\ No newline at end of file
/*
* Debugger_Demo.c
*
*/
#include <avr/io.h>
int main(void)
{
/* Replace with your application code */
while (1)
{
}
}
......@@ -3,15 +3,15 @@
:1000200026C025C024C023C022C021C089C01FC053
:100030001EC01DC011241FBECFEFCDBFDFE3DEBF4A
:100040001EE3A0E0BEE3E0E2FAE002C005900D92FC
:10005000AA33B107D9F72EE3AAE3BEE301C01D928C
:10006000A534B207E1F70E9459000C940E050C94D8
:10005000AC33B107D9F72EE3ACE3BEE301C01D9288
:10006000A734B207E1F70E9459000C940E050C94D6
:100070000000E0E0F6E0808184608083818182601E
:100080008183828180618283828182838081816099
:1000900080830895E0E0F6E086838385816083872E
:1000A000808581608087838580FFFDCF80911006E9
:1000B00008956CE675E080E090E00E9487000E9461
:1000C00039007894C6E0DEE386E00E944A0080951D
:1000D00080933A3E1F928F93DF93CF930E94F90053
:1000D00080933C3E1F928F93DF93CF930E94F90051
:1000E0009AE22CE28AE0915020408040E1F7000043
:1000F0000F900F900F900F90E7CFE0E0F8E0948121
:1001000095FFFDCF8093020880E090E00895E0E243
......@@ -23,15 +23,15 @@
:10016000CF93DF93009731F46115710519F480E0A6
:1001700090E03AC08B01EC016EE070E081E090E02D
:100180000E94E102FC01892B91F380E88383011531
:10019000110571F00287138781E8838380913B3ECC
:1001A00090913C3E892B21F4E0933B3EF0933C3E02
:10019000110571F00287138781E8838380913D3ECA
:1001A00090913E3E892B21F4E0933D3EF0933E3EFC
:1001B0002097C9F0C087D187838182608383809133
:1001C0003D3E90913E3E892B71F4E0933D3EF0938D
:1001D0003E3E80913F3E9091403E892B21F4E0933A
:1001E0003F3EF093403ECF01DF91CF911F910F91A1
:1001C0003F3E9091403E892B71F4E0933F3EF09387
:1001D000403E8091413E9091423E892B21F4E09334
:1001E000413EF093423ECF01DF91CF911F910F919D
:1001F0000895A0E0B0E0EFEFF0E00C94ED04AE0164
:100200004B5F5F4FFA0161917191AF0180913D3E6B
:1002100090913E3E0E940F01E2E00C940605ACE096
:100200004B5F5F4FFA0161917191AF0180913F3E69
:100210009091403E0E940F01E2E00C940605ACE094
:10022000B0E0E5E1F1E00C94DD047C016B018A01B2
:10023000FC0116821782838181FFBDC1CE01019628
:100240004C01F7019381F60193FD859193FF819114
......@@ -94,43 +94,43 @@
:1005D000100D969F100D1124C8010E94FD02EC0120
:1005E000009729F0A80160E070E00E943504CE0178
:1005F000DF91CF911F910F910895CF93DF938230B8
:10060000910510F482E090E0E091433EF091443E89
:10060000910510F482E090E0E091453EF091463E85
:1006100020E030E0C0E0D0E0309711F1408151811E
:1006200048175907C0F04817590761F48281938130
:10063000209719F08A839B832BC08093433E90932D
:10064000443E26C02115310519F04217530718F40E
:10063000209719F08A839B832BC08093453E90932B
:10064000463E26C02115310519F04217530718F40C
:100650009A01BE01DF01EF010280F381E02DDCCFC2
:100660002115310509F1281B390B2430310590F48F
:1006700012968D919C9113976115710521F0FB01E4
:100680008283938304C08093433E9093443EFD0154
:100680008283938304C08093453E9093463EFD0150
:10069000329644C0FD01E20FF31F819391932250E3
:1006A00031092D933C933AC02091413E3091423E16
:1006B000232B41F42091023E3091033E2093413E92
:1006C0003093423E2091003E3091013E211531058C
:1006A00031092D933C933AC02091433E3091443E12
:1006B000232B41F42091023E3091033E2093433E90
:1006C0003093443E2091003E3091013E211531058A
:1006D00041F42DB73EB74091043E5091053E241B96
:1006E000350BE091413EF091423EE217F307A0F452
:1006E000350BE091433EF091443EE217F307A0F44E
:1006F0002E1B3F0B2817390778F0AC014E5F5F4F78
:100700002417350748F04E0F5F1F4093413E50932A
:10071000423E8193919302C0E0E0F0E0CF01DF918F
:100700002417350748F04E0F5F1F4093433E509328
:10071000443E8193919302C0E0E0F0E0CF01DF918D
:10072000CF9108950F931F93CF93DF93009709F410
:100730008CC0FC013297128213820091433E1091CB
:10074000443E0115110581F420813181820F931FF0
:100750002091413E3091423E2817390779F5E093C8
:10076000413EF093423E71C0D80140E050E0AE17E8
:100730008CC0FC013297128213820091453E1091C9
:10074000463E0115110581F420813181820F931FEE
:100750002091433E3091443E2817390779F5E093C4
:10076000433EF093443E71C0D80140E050E0AE17E4
:10077000BF0750F412962D913C911397AD012115AE
:10078000310509F1D901F3CF9D01DA0122833383C9
:1007900060817181860F971F8217930769F4EC01BE
:1007A00028813981260F371F2E5F3F4F20833183E9
:1007B0008A819B8182839383452B29F4E093433E76
:1007C000F093443E42C01296ED93FC931397ED01D3
:1007B0008A819B8182839383452B29F4E093453E74
:1007C000F093463E42C01296ED93FC931397ED01D1
:1007D000499159919E01240F351FE217F30771F4D7
:1007E00080819181840F951F02968D939C93119720
:1007F0008281938112968D939C931397E0E0F0E0B1
:10080000D80112968D919C911397009719F0F801D9
:100810008C01F6CF8D919C9198012E5F3F4F820FF6
:10082000931F2091413E3091423E2817390769F4C9
:10083000309729F41092433E1092443E02C0128237
:1008400013820093413E1093423EDF91CF911F915E
:10082000931F2091433E3091443E2817390769F4C5
:10083000309729F41092453E1092463E02C0128233
:1008400013820093433E1093443EDF91CF911F915A
:100850000F910895FC010590615070400110D8F788
:10086000809590958E0F9F1F0895DC0101C06D93B8
:1008700041505040E0F70895FC01615070400190F4
......@@ -160,8 +160,8 @@
:1009F00048885F846E847D848C849B84AA84B984B7
:100A0000C884DF80EE80FD800C811B81AA81B981C2
:100A1000CE0FD11DCDBFDEBFED010895F894FFCFFD
:100A20000000453E20004C6967687420696E74655B
:100A20000000473E20004C6967687420696E746559
:100A30006E736974792069732063757272656E7460
:100A40006C79202564206272696768746E657373BF
:0A0A500020706F696E7473210A00B4
:0C0A500020706F696E7473210D0A0000A5
:00000001FF
......@@ -3,13 +3,13 @@ Task1_LF.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .data 0000003a 00803e00 00000a20 00000ab4 2**0
0 .data 0000003c 00803e00 00000a20 00000ab4 2**0
CONTENTS, ALLOC, LOAD, DATA
1 .text 00000a20 00000000 00000000 00000094 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .bss 0000000b 00803e3a 00803e3a 00000aee 2**0
2 .bss 0000000b 00803e3c 00803e3c 00000af0 2**0
ALLOC
3 .comment 0000005c 00000000 00000000 00000aee 2**0
3 .comment 0000005c 00000000 00000000 00000af0 2**0
CONTENTS, READONLY
4 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 00000b4c 2**2
CONTENTS, READONLY
......@@ -77,13 +77,13 @@ Disassembly of section .text:
4a: 02 c0 rjmp .+4 ; 0x50 <__do_copy_data+0x10>
4c: 05 90 lpm r0, Z+
4e: 0d 92 st X+, r0
50: aa 33 cpi r26, 0x3A ; 58
50: ac 33 cpi r26, 0x3C ; 60
52: b1 07 cpc r27, r17
54: d9 f7 brne .-10 ; 0x4c <__do_copy_data+0xc>
00000056 <__do_clear_bss>:
56: 2e e3 ldi r18, 0x3E ; 62
58: aa e3 ldi r26, 0x3A ; 58
58: ac e3 ldi r26, 0x3C ; 60
5a: be e3 ldi r27, 0x3E ; 62
5c: 01 c0 rjmp .+2 ; 0x60 <.do_clear_bss_start>
......@@ -91,7 +91,7 @@ Disassembly of section .text:
5e: 1d 92 st X+, r1
00000060 <.do_clear_bss_start>:
60: a5 34 cpi r26, 0x45 ; 69
60: a7 34 cpi r26, 0x47 ; 71
62: b2 07 cpc r27, r18
64: e1 f7 brne .-8 ; 0x5e <.do_clear_bss_loop>
66: 0e 94 59 00 call 0xb2 ; 0xb2 <main>
......@@ -189,7 +189,7 @@ int main(void)
//The light sensor returns the ones complement (the opposite) of the brightness:
data = 0xff - data;
printf("Light intensity is currently %d brightness points!\n", data); //Print out the value neatly using printf
printf("Light intensity is currently %d brightness points!\r\n", data); //Print out the value neatly using printf
c4: c6 e0 ldi r28, 0x06 ; 6
c6: de e3 ldi r29, 0x3E ; 62
sei(); //If we want to receive via UART we need interrupts enabled.
......@@ -204,9 +204,9 @@ int main(void)
//The light sensor returns the ones complement (the opposite) of the brightness:
data = 0xff - data;
ce: 80 95 com r24
d0: 80 93 3a 3e sts 0x3E3A, r24 ; 0x803e3a <__data_end>
d0: 80 93 3c 3e sts 0x3E3C, r24 ; 0x803e3c <__data_end>
printf("Light intensity is currently %d brightness points!\n", data); //Print out the value neatly using printf
printf("Light intensity is currently %d brightness points!\r\n", data); //Print out the value neatly using printf
d4: 1f 92 push r1
d6: 8f 93 push r24
d8: df 93 push r29
......@@ -352,12 +352,12 @@ ISR(USART0_RXC_vect){
196: 13 87 std Z+11, r17 ; 0x0b
198: 81 e8 ldi r24, 0x81 ; 129
19a: 83 83 std Z+3, r24 ; 0x03
19c: 80 91 3b 3e lds r24, 0x3E3B ; 0x803e3b <__iob>
1a0: 90 91 3c 3e lds r25, 0x3E3C ; 0x803e3c <__iob+0x1>
19c: 80 91 3d 3e lds r24, 0x3E3D ; 0x803e3d <__iob>
1a0: 90 91 3e 3e lds r25, 0x3E3E ; 0x803e3e <__iob+0x1>
1a4: 89 2b or r24, r25
1a6: 21 f4 brne .+8 ; 0x1b0 <fdevopen+0x54>
1a8: e0 93 3b 3e sts 0x3E3B, r30 ; 0x803e3b <__iob>
1ac: f0 93 3c 3e sts 0x3E3C, r31 ; 0x803e3c <__iob+0x1>
1a8: e0 93 3d 3e sts 0x3E3D, r30 ; 0x803e3d <__iob>
1ac: f0 93 3e 3e sts 0x3E3E, r31 ; 0x803e3e <__iob+0x1>
1b0: 20 97 sbiw r28, 0x00 ; 0
1b2: c9 f0 breq .+50 ; 0x1e6 <fdevopen+0x8a>
1b4: c0 87 std Z+8, r28 ; 0x08
......@@ -365,18 +365,18 @@ ISR(USART0_RXC_vect){
1b8: 83 81 ldd r24, Z+3 ; 0x03
1ba: 82 60 ori r24, 0x02 ; 2
1bc: 83 83 std Z+3, r24 ; 0x03
1be: 80 91 3d 3e lds r24, 0x3E3D ; 0x803e3d <__iob+0x2>
1c2: 90 91 3e 3e lds r25, 0x3E3E ; 0x803e3e <__iob+0x3>
1be: 80 91 3f 3e lds r24, 0x3E3F ; 0x803e3f <__iob+0x2>
1c2: 90 91 40 3e lds r25, 0x3E40 ; 0x803e40 <__iob+0x3>
1c6: 89 2b or r24, r25
1c8: 71 f4 brne .+28 ; 0x1e6 <fdevopen+0x8a>
1ca: e0 93 3d 3e sts 0x3E3D, r30 ; 0x803e3d <__iob+0x2>
1ce: f0 93 3e 3e sts 0x3E3E, r31 ; 0x803e3e <__iob+0x3>
1d2: 80 91 3f 3e lds r24, 0x3E3F ; 0x803e3f <__iob+0x4>
1d6: 90 91 40 3e lds r25, 0x3E40 ; 0x803e40 <__iob+0x5>
1ca: e0 93 3f 3e sts 0x3E3F, r30 ; 0x803e3f <__iob+0x2>
1ce: f0 93 40 3e sts 0x3E40, r31 ; 0x803e40 <__iob+0x3>
1d2: 80 91 41 3e lds r24, 0x3E41 ; 0x803e41 <__iob+0x4>
1d6: 90 91 42 3e lds r25, 0x3E42 ; 0x803e42 <__iob+0x5>
1da: 89 2b or r24, r25
1dc: 21 f4 brne .+8 ; 0x1e6 <fdevopen+0x8a>
1de: e0 93 3f 3e sts 0x3E3F, r30 ; 0x803e3f <__iob+0x4>
1e2: f0 93 40 3e sts 0x3E40, r31 ; 0x803e40 <__iob+0x5>
1de: e0 93 41 3e sts 0x3E41, r30 ; 0x803e41 <__iob+0x4>
1e2: f0 93 42 3e sts 0x3E42, r31 ; 0x803e42 <__iob+0x5>
1e6: cf 01 movw r24, r30
1e8: df 91 pop r29
1ea: cf 91 pop r28
......@@ -397,8 +397,8 @@ ISR(USART0_RXC_vect){
206: 61 91 ld r22, Z+
208: 71 91 ld r23, Z+
20a: af 01 movw r20, r30
20c: 80 91 3d 3e lds r24, 0x3E3D ; 0x803e3d <__iob+0x2>
210: 90 91 3e 3e lds r25, 0x3E3E ; 0x803e3e <__iob+0x3>
20c: 80 91 3f 3e lds r24, 0x3E3F ; 0x803e3f <__iob+0x2>
210: 90 91 40 3e lds r25, 0x3E40 ; 0x803e40 <__iob+0x3>
214: 0e 94 0f 01 call 0x21e ; 0x21e <vfprintf>
218: e2 e0 ldi r30, 0x02 ; 2
21a: 0c 94 06 05 jmp 0xa0c ; 0xa0c <__epilogue_restores__+0x20>
......@@ -892,8 +892,8 @@ ISR(USART0_RXC_vect){
602: 10 f4 brcc .+4 ; 0x608 <malloc+0xe>
604: 82 e0 ldi r24, 0x02 ; 2
606: 90 e0 ldi r25, 0x00 ; 0
608: e0 91 43 3e lds r30, 0x3E43 ; 0x803e43 <__flp>
60c: f0 91 44 3e lds r31, 0x3E44 ; 0x803e44 <__flp+0x1>
608: e0 91 45 3e lds r30, 0x3E45 ; 0x803e45 <__flp>
60c: f0 91 46 3e lds r31, 0x3E46 ; 0x803e46 <__flp+0x1>
610: 20 e0 ldi r18, 0x00 ; 0
612: 30 e0 ldi r19, 0x00 ; 0
614: c0 e0 ldi r28, 0x00 ; 0
......@@ -915,8 +915,8 @@ ISR(USART0_RXC_vect){
634: 8a 83 std Y+2, r24 ; 0x02
636: 9b 83 std Y+3, r25 ; 0x03
638: 2b c0 rjmp .+86 ; 0x690 <malloc+0x96>
63a: 80 93 43 3e sts 0x3E43, r24 ; 0x803e43 <__flp>
63e: 90 93 44 3e sts 0x3E44, r25 ; 0x803e44 <__flp+0x1>
63a: 80 93 45 3e sts 0x3E45, r24 ; 0x803e45 <__flp>
63e: 90 93 46 3e sts 0x3E46, r25 ; 0x803e46 <__flp+0x1>
642: 26 c0 rjmp .+76 ; 0x690 <malloc+0x96>
644: 21 15 cp r18, r1
646: 31 05 cpc r19, r1
......@@ -951,8 +951,8 @@ ISR(USART0_RXC_vect){
680: 82 83 std Z+2, r24 ; 0x02
682: 93 83 std Z+3, r25 ; 0x03
684: 04 c0 rjmp .+8 ; 0x68e <malloc+0x94>
686: 80 93 43 3e sts 0x3E43, r24 ; 0x803e43 <__flp>
68a: 90 93 44 3e sts 0x3E44, r25 ; 0x803e44 <__flp+0x1>
686: 80 93 45 3e sts 0x3E45, r24 ; 0x803e45 <__flp>
68a: 90 93 46 3e sts 0x3E46, r25 ; 0x803e46 <__flp+0x1>
68e: fd 01 movw r30, r26
690: 32 96 adiw r30, 0x02 ; 2
692: 44 c0 rjmp .+136 ; 0x71c <malloc+0x122>
......@@ -966,14 +966,14 @@ ISR(USART0_RXC_vect){
6a2: 2d 93 st X+, r18
6a4: 3c 93 st X, r19
6a6: 3a c0 rjmp .+116 ; 0x71c <malloc+0x122>
6a8: 20 91 41 3e lds r18, 0x3E41 ; 0x803e41 <__brkval>
6ac: 30 91 42 3e lds r19, 0x3E42 ; 0x803e42 <__brkval+0x1>
6a8: 20 91 43 3e lds r18, 0x3E43 ; 0x803e43 <__brkval>
6ac: 30 91 44 3e lds r19, 0x3E44 ; 0x803e44 <__brkval+0x1>
6b0: 23 2b or r18, r19
6b2: 41 f4 brne .+16 ; 0x6c4 <malloc+0xca>
6b4: 20 91 02 3e lds r18, 0x3E02 ; 0x803e02 <__malloc_heap_start>
6b8: 30 91 03 3e lds r19, 0x3E03 ; 0x803e03 <__malloc_heap_start+0x1>
6bc: 20 93 41 3e sts 0x3E41, r18 ; 0x803e41 <__brkval>
6c0: 30 93 42 3e sts 0x3E42, r19 ; 0x803e42 <__brkval+0x1>
6bc: 20 93 43 3e sts 0x3E43, r18 ; 0x803e43 <__brkval>
6c0: 30 93 44 3e sts 0x3E44, r19 ; 0x803e44 <__brkval+0x1>
6c4: 20 91 00 3e lds r18, 0x3E00 ; 0x803e00 <__data_start>
6c8: 30 91 01 3e lds r19, 0x3E01 ; 0x803e01 <__data_start+0x1>
6cc: 21 15 cp r18, r1
......@@ -985,8 +985,8 @@ ISR(USART0_RXC_vect){
6da: 50 91 05 3e lds r21, 0x3E05 ; 0x803e05 <__malloc_margin+0x1>
6de: 24 1b sub r18, r20
6e0: 35 0b sbc r19, r21
6e2: e0 91 41 3e lds r30, 0x3E41 ; 0x803e41 <__brkval>
6e6: f0 91 42 3e lds r31, 0x3E42 ; 0x803e42 <__brkval+0x1>
6e2: e0 91 43 3e lds r30, 0x3E43 ; 0x803e43 <__brkval>
6e6: f0 91 44 3e lds r31, 0x3E44 ; 0x803e44 <__brkval+0x1>
6ea: e2 17 cp r30, r18
6ec: f3 07 cpc r31, r19
6ee: a0 f4 brcc .+40 ; 0x718 <malloc+0x11e>
......@@ -1003,8 +1003,8 @@ ISR(USART0_RXC_vect){
704: 48 f0 brcs .+18 ; 0x718 <malloc+0x11e>
706: 4e 0f add r20, r30
708: 5f 1f adc r21, r31
70a: 40 93 41 3e sts 0x3E41, r20 ; 0x803e41 <__brkval>
70e: 50 93 42 3e sts 0x3E42, r21 ; 0x803e42 <__brkval+0x1>
70a: 40 93 43 3e sts 0x3E43, r20 ; 0x803e43 <__brkval>
70e: 50 93 44 3e sts 0x3E44, r21 ; 0x803e44 <__brkval+0x1>
712: 81 93 st Z+, r24
714: 91 93 st Z+, r25
716: 02 c0 rjmp .+4 ; 0x71c <malloc+0x122>
......@@ -1027,8 +1027,8 @@ ISR(USART0_RXC_vect){
734: 32 97 sbiw r30, 0x02 ; 2
736: 12 82 std Z+2, r1 ; 0x02
738: 13 82 std Z+3, r1 ; 0x03
73a: 00 91 43 3e lds r16, 0x3E43 ; 0x803e43 <__flp>
73e: 10 91 44 3e lds r17, 0x3E44 ; 0x803e44 <__flp+0x1>
73a: 00 91 45 3e lds r16, 0x3E45 ; 0x803e45 <__flp>
73e: 10 91 46 3e lds r17, 0x3E46 ; 0x803e46 <__flp+0x1>
742: 01 15 cp r16, r1
744: 11 05 cpc r17, r1
746: 81 f4 brne .+32 ; 0x768 <free+0x44>
......@@ -1036,13 +1036,13 @@ ISR(USART0_RXC_vect){
74a: 31 81 ldd r19, Z+1 ; 0x01
74c: 82 0f add r24, r18
74e: 93 1f adc r25, r19
750: 20 91 41 3e lds r18, 0x3E41 ; 0x803e41 <__brkval>
754: 30 91 42 3e lds r19, 0x3E42 ; 0x803e42 <__brkval+0x1>
750: 20 91 43 3e lds r18, 0x3E43 ; 0x803e43 <__brkval>
754: 30 91 44 3e lds r19, 0x3E44 ; 0x803e44 <__brkval+0x1>
758: 28 17 cp r18, r24
75a: 39 07 cpc r19, r25
75c: 79 f5 brne .+94 ; 0x7bc <free+0x98>
75e: e0 93 41 3e sts 0x3E41, r30 ; 0x803e41 <__brkval>
762: f0 93 42 3e sts 0x3E42, r31 ; 0x803e42 <__brkval+0x1>
75e: e0 93 43 3e sts 0x3E43, r30 ; 0x803e43 <__brkval>
762: f0 93 44 3e sts 0x3E44, r31 ; 0x803e44 <__brkval+0x1>
766: 71 c0 rjmp .+226 ; 0x84a <free+0x126>
768: d8 01 movw r26, r16
76a: 40 e0 ldi r20, 0x00 ; 0
......@@ -1086,8 +1086,8 @@ ISR(USART0_RXC_vect){
7b6: 93 83 std Z+3, r25 ; 0x03
7b8: 45 2b or r20, r21
7ba: 29 f4 brne .+10 ; 0x7c6 <free+0xa2>
7bc: e0 93 43 3e sts 0x3E43, r30 ; 0x803e43 <__flp>
7c0: f0 93 44 3e sts 0x3E44, r31 ; 0x803e44 <__flp+0x1>
7bc: e0 93 45 3e sts 0x3E45, r30 ; 0x803e45 <__flp>
7c0: f0 93 46 3e sts 0x3E46, r31 ; 0x803e46 <__flp+0x1>
7c4: 42 c0 rjmp .+132 ; 0x84a <free+0x126>
7c6: 12 96 adiw r26, 0x02 ; 2
7c8: ed 93 st X+, r30
......@@ -1135,20 +1135,20 @@ ISR(USART0_RXC_vect){
81c: 3f 4f sbci r19, 0xFF ; 255
81e: 82 0f add r24, r18
820: 93 1f adc r25, r19
822: 20 91 41 3e lds r18, 0x3E41 ; 0x803e41 <__brkval>
826: 30 91 42 3e lds r19, 0x3E42 ; 0x803e42 <__brkval+0x1>
822: 20 91 43 3e lds r18, 0x3E43 ; 0x803e43 <__brkval>
826: 30 91 44 3e lds r19, 0x3E44 ; 0x803e44 <__brkval+0x1>
82a: 28 17 cp r18, r24
82c: 39 07 cpc r19, r25
82e: 69 f4 brne .+26 ; 0x84a <free+0x126>
830: 30 97 sbiw r30, 0x00 ; 0
832: 29 f4 brne .+10 ; 0x83e <free+0x11a>
834: 10 92 43 3e sts 0x3E43, r1 ; 0x803e43 <__flp>
838: 10 92 44 3e sts 0x3E44, r1 ; 0x803e44 <__flp+0x1>
834: 10 92 45 3e sts 0x3E45, r1 ; 0x803e45 <__flp>
838: 10 92 46 3e sts 0x3E46, r1 ; 0x803e46 <__flp+0x1>
83c: 02 c0 rjmp .+4 ; 0x842 <free+0x11e>
83e: 12 82 std Z+2, r1 ; 0x02
840: 13 82 std Z+3, r1 ; 0x03
842: 00 93 41 3e sts 0x3E41, r16 ; 0x803e41 <__brkval>