added 3.2

This commit is contained in:
Sem van der Hoeven
2021-02-24 12:50:50 +01:00
parent 0625ca1ccb
commit 0a1a3fd47f
22 changed files with 2666 additions and 305 deletions

View File

@@ -9,25 +9,25 @@ Idx Name Size VMA LMA File off Algn
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 .comment 0000002f 00000000 00000000 00000274 2**0
CONTENTS, READONLY
3 .debug_aranges 00000078 00000000 00000000 000002a3 2**0
3 .debug_aranges 00000090 00000000 00000000 000002a3 2**0
CONTENTS, READONLY, DEBUGGING
4 .debug_info 00000ed8 00000000 00000000 0000031b 2**0
4 .debug_info 000011bb 00000000 00000000 00000333 2**0
CONTENTS, READONLY, DEBUGGING
5 .debug_abbrev 00000890 00000000 00000000 000011f3 2**0
5 .debug_abbrev 0000095a 00000000 00000000 000014ee 2**0
CONTENTS, READONLY, DEBUGGING
6 .debug_line 00000463 00000000 00000000 00001a83 2**0
6 .debug_line 00000526 00000000 00000000 00001e48 2**0
CONTENTS, READONLY, DEBUGGING
7 .debug_frame 000000fc 00000000 00000000 00001ee8 2**2
7 .debug_frame 00000110 00000000 00000000 00002370 2**2
CONTENTS, READONLY, DEBUGGING
8 .debug_str 00000283 00000000 00000000 00001fe4 2**0
8 .debug_str 000002ae 00000000 00000000 00002480 2**0
CONTENTS, READONLY, DEBUGGING
9 .debug_loc 00000242 00000000 00000000 00002267 2**0
9 .debug_loc 00000242 00000000 00000000 0000272e 2**0
CONTENTS, READONLY, DEBUGGING
10 .debug_ranges 00000068 00000000 00000000 000024a9 2**0
10 .debug_ranges 00000070 00000000 00000000 00002970 2**0
CONTENTS, READONLY, DEBUGGING
11 .text 00000004 0000021c 0000021c 00000270 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
12 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 00002514 2**2
12 .note.gnu.avr.deviceinfo 0000003c 00000000 00000000 000029e0 2**2
CONTENTS, READONLY, DEBUGGING
13 .text.sbi_porta 00000016 000001f8 000001f8 0000024c 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
@@ -110,7 +110,7 @@ Disassembly of section .text:
Disassembly of section .text:
0000021c <__bad_interrupt>:
21c: 0c 94 00 00 jmp 0 ; 0x0 <__TEXT_REGION_ORIGIN__>
21c: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
Disassembly of section .text.sbi_porta:
@@ -161,8 +161,8 @@ Disassembly of section .text.lcd_strobe_lcd_e:
12c: 86 e0 ldi r24, 0x06 ; 6
12e: 90 e0 ldi r25, 0x00 ; 0
130: 0e 94 fc 00 call 0x1f8 ; 0x1f8 <sbi_porta>
134: 83 ec ldi r24, 0xC3 ; 195
136: 99 e0 ldi r25, 0x09 ; 9
134: 89 ef ldi r24, 0xF9 ; 249
136: 90 e0 ldi r25, 0x00 ; 0
138: 01 97 sbiw r24, 0x01 ; 1
13a: f1 f7 brne .-4 ; 0x138 <lcd_strobe_lcd_e+0xc>
13c: 00 c0 rjmp .+0 ; 0x13e <lcd_strobe_lcd_e+0x12>
@@ -170,8 +170,8 @@ Disassembly of section .text.lcd_strobe_lcd_e:
140: 86 e0 ldi r24, 0x06 ; 6
142: 90 e0 ldi r25, 0x00 ; 0
144: 0e 94 f0 00 call 0x1e0 ; 0x1e0 <cbi_porta>
148: 83 ec ldi r24, 0xC3 ; 195
14a: 99 e0 ldi r25, 0x09 ; 9
148: 89 ef ldi r24, 0xF9 ; 249
14a: 90 e0 ldi r25, 0x00 ; 0
14c: 01 97 sbiw r24, 0x01 ; 1
14e: f1 f7 brne .-4 ; 0x14c <lcd_strobe_lcd_e+0x20>
150: 00 c0 rjmp .+0 ; 0x152 <lcd_strobe_lcd_e+0x26>
@@ -223,8 +223,8 @@ Disassembly of section .text.lcd_clear:
000001c6 <lcd_clear>:
1c6: 81 e0 ldi r24, 0x01 ; 1
1c8: 0e 94 bf 00 call 0x17e ; 0x17e <lcd_write_command>
1cc: 87 e8 ldi r24, 0x87 ; 135
1ce: 93 e1 ldi r25, 0x13 ; 19
1cc: 83 ef ldi r24, 0xF3 ; 243
1ce: 91 e0 ldi r25, 0x01 ; 1
1d0: 01 97 sbiw r24, 0x01 ; 1
1d2: f1 f7 brne .-4 ; 0x1d0 <lcd_clear+0xa>
1d4: 00 c0 rjmp .+0 ; 0x1d6 <lcd_clear+0x10>
@@ -296,14 +296,33 @@ Disassembly of section .text.lcd_write_string:
Disassembly of section .text.main:
000001a6 <main>:
int main(void)
{
init_4bits_mode();
1a6: 0e 94 57 00 call 0xae ; 0xae <init_4bits_mode>
#else
//round up by default
__ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
#endif
__builtin_avr_delay_cycles(__ticks_dc);
1aa: 87 ea ldi r24, 0xA7 ; 167
1ac: 91 e6 ldi r25, 0x61 ; 97
1ae: 01 97 sbiw r24, 0x01 ; 1
1b0: f1 f7 brne .-4 ; 0x1ae <main+0x8>
1b2: 00 c0 rjmp .+0 ; 0x1b4 <main+0xe>
1b4: 00 00 nop
_delay_ms(10);
lcd_clear();
1b6: 0e 94 e3 00 call 0x1c6 ; 0x1c6 <lcd_clear>
lcd_write_string("Pintebaas");
1ba: 64 ea ldi r22, 0xA4 ; 164
1bc: 70 e0 ldi r23, 0x00 ; 0
1be: 80 e0 ldi r24, 0x00 ; 0