-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclock.map
executable file
·784 lines (781 loc) · 22.1 KB
/
clock.map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
AVRASM ver. 2.1.42 C:\Users\brunsa2\Documents\My Dropbox\Embedded Systems 1 (CE 2800)\Week 9\clock\clock.asm Wed Nov 10 19:14:48 2010
EQU SIGNATURE_000 0000001e
EQU SIGNATURE_001 00000095
EQU SIGNATURE_002 00000002
EQU SREG 0000003f
EQU SPL 0000003d
EQU SPH 0000003e
EQU OCR0 0000003c
EQU GICR 0000003b
EQU GIFR 0000003a
EQU TIMSK 00000039
EQU TIFR 00000038
EQU SPMCR 00000037
EQU TWCR 00000036
EQU MCUCR 00000035
EQU MCUCSR 00000034
EQU TCCR0 00000033
EQU TCNT0 00000032
EQU OSCCAL 00000031
EQU OCDR 00000031
EQU SFIOR 00000030
EQU TCCR1A 0000002f
EQU TCCR1B 0000002e
EQU TCNT1L 0000002c
EQU TCNT1H 0000002d
EQU OCR1AL 0000002a
EQU OCR1AH 0000002b
EQU OCR1BL 00000028
EQU OCR1BH 00000029
EQU ICR1L 00000026
EQU ICR1H 00000027
EQU TCCR2 00000025
EQU TCNT2 00000024
EQU OCR2 00000023
EQU ASSR 00000022
EQU WDTCR 00000021
EQU UBRRH 00000020
EQU UCSRC 00000020
EQU EEARL 0000001e
EQU EEARH 0000001f
EQU EEDR 0000001d
EQU EECR 0000001c
EQU PORTA 0000001b
EQU DDRA 0000001a
EQU PINA 00000019
EQU PORTB 00000018
EQU DDRB 00000017
EQU PINB 00000016
EQU PORTC 00000015
EQU DDRC 00000014
EQU PINC 00000013
EQU PORTD 00000012
EQU DDRD 00000011
EQU PIND 00000010
EQU SPDR 0000000f
EQU SPSR 0000000e
EQU SPCR 0000000d
EQU UDR 0000000c
EQU UCSRA 0000000b
EQU UCSRB 0000000a
EQU UBRRL 00000009
EQU ACSR 00000008
EQU ADMUX 00000007
EQU ADCSRA 00000006
EQU ADCH 00000005
EQU ADCL 00000004
EQU TWDR 00000003
EQU TWAR 00000002
EQU TWSR 00000001
EQU TWBR 00000000
EQU EEDR0 00000000
EQU EEDR1 00000001
EQU EEDR2 00000002
EQU EEDR3 00000003
EQU EEDR4 00000004
EQU EEDR5 00000005
EQU EEDR6 00000006
EQU EEDR7 00000007
EQU EERE 00000000
EQU EEWE 00000001
EQU EEMWE 00000002
EQU EERIE 00000003
EQU WDP0 00000000
EQU WDP1 00000001
EQU WDP2 00000002
EQU WDE 00000003
EQU WDTOE 00000004
EQU WDDE 00000004
EQU GIMSK 0000003b
EQU IVCE 00000000
EQU IVSEL 00000001
EQU INT2 00000005
EQU INT0 00000006
EQU INT1 00000007
EQU INTF2 00000005
EQU INTF0 00000006
EQU INTF1 00000007
EQU ISC00 00000000
EQU ISC01 00000001
EQU ISC10 00000002
EQU ISC11 00000003
EQU ISC2 00000006
EQU CS00 00000000
EQU CS01 00000001
EQU CS02 00000002
EQU WGM01 00000003
EQU CTC0 00000003
EQU COM00 00000004
EQU COM01 00000005
EQU WGM00 00000006
EQU PWM0 00000006
EQU FOC0 00000007
EQU TCNT0_0 00000000
EQU TCNT0_1 00000001
EQU TCNT0_2 00000002
EQU TCNT0_3 00000003
EQU TCNT0_4 00000004
EQU TCNT0_5 00000005
EQU TCNT0_6 00000006
EQU TCNT0_7 00000007
EQU OCR0_0 00000000
EQU OCR0_1 00000001
EQU OCR0_2 00000002
EQU OCR0_3 00000003
EQU OCR0_4 00000004
EQU OCR0_5 00000005
EQU OCR0_6 00000006
EQU OCR0_7 00000007
EQU TOIE0 00000000
EQU OCIE0 00000001
EQU TOV0 00000000
EQU OCF0 00000001
EQU TOIE2 00000006
EQU OCIE2 00000007
EQU TOV2 00000006
EQU OCF2 00000007
EQU CS20 00000000
EQU CS21 00000001
EQU CS22 00000002
EQU WGM21 00000003
EQU CTC2 00000003
EQU COM20 00000004
EQU COM21 00000005
EQU WGM20 00000006
EQU PWM2 00000006
EQU FOC2 00000007
EQU TCNT2_0 00000000
EQU TCNT2_1 00000001
EQU TCNT2_2 00000002
EQU TCNT2_3 00000003
EQU TCNT2_4 00000004
EQU TCNT2_5 00000005
EQU TCNT2_6 00000006
EQU TCNT2_7 00000007
EQU OCR2_0 00000000
EQU OCR2_1 00000001
EQU OCR2_2 00000002
EQU OCR2_3 00000003
EQU OCR2_4 00000004
EQU OCR2_5 00000005
EQU OCR2_6 00000006
EQU OCR2_7 00000007
EQU TCR2UB 00000000
EQU OCR2UB 00000001
EQU TCN2UB 00000002
EQU AS2 00000003
EQU TOIE1 00000002
EQU OCIE1B 00000003
EQU OCIE1A 00000004
EQU TICIE1 00000005
EQU TOV1 00000002
EQU OCF1B 00000003
EQU OCF1A 00000004
EQU ICF1 00000005
EQU WGM10 00000000
EQU PWM10 00000000
EQU WGM11 00000001
EQU PWM11 00000001
EQU FOC1B 00000002
EQU FOC1A 00000003
EQU COM1B0 00000004
EQU COM1B1 00000005
EQU COM1A0 00000006
EQU COM1A1 00000007
EQU CS10 00000000
EQU CS11 00000001
EQU CS12 00000002
EQU WGM12 00000003
EQU CTC10 00000003
EQU CTC1 00000003
EQU WGM13 00000004
EQU CTC11 00000004
EQU ICES1 00000006
EQU ICNC1 00000007
EQU SPDR0 00000000
EQU SPDR1 00000001
EQU SPDR2 00000002
EQU SPDR3 00000003
EQU SPDR4 00000004
EQU SPDR5 00000005
EQU SPDR6 00000006
EQU SPDR7 00000007
EQU SPI2X 00000000
EQU WCOL 00000006
EQU SPIF 00000007
EQU SPR0 00000000
EQU SPR1 00000001
EQU CPHA 00000002
EQU CPOL 00000003
EQU MSTR 00000004
EQU DORD 00000005
EQU SPE 00000006
EQU SPIE 00000007
EQU UDR0 00000000
EQU UDR1 00000001
EQU UDR2 00000002
EQU UDR3 00000003
EQU UDR4 00000004
EQU UDR5 00000005
EQU UDR6 00000006
EQU UDR7 00000007
EQU USR 0000000b
EQU MPCM 00000000
EQU U2X 00000001
EQU UPE 00000002
EQU PE 00000002
EQU DOR 00000003
EQU FE 00000004
EQU UDRE 00000005
EQU TXC 00000006
EQU RXC 00000007
EQU UCR 0000000a
EQU TXB8 00000000
EQU RXB8 00000001
EQU UCSZ2 00000002
EQU CHR9 00000002
EQU TXEN 00000003
EQU RXEN 00000004
EQU UDRIE 00000005
EQU TXCIE 00000006
EQU RXCIE 00000007
EQU UCPOL 00000000
EQU UCSZ0 00000001
EQU UCSZ1 00000002
EQU USBS 00000003
EQU UPM0 00000004
EQU UPM1 00000005
EQU UMSEL 00000006
EQU URSEL 00000007
EQU UBRRHI 00000020
EQU ACME 00000003
EQU ACIS0 00000000
EQU ACIS1 00000001
EQU ACIC 00000002
EQU ACIE 00000003
EQU ACI 00000004
EQU ACO 00000005
EQU ACBG 00000006
EQU ACD 00000007
EQU MUX0 00000000
EQU MUX1 00000001
EQU MUX2 00000002
EQU MUX3 00000003
EQU MUX4 00000004
EQU ADLAR 00000005
EQU REFS0 00000006
EQU REFS1 00000007
EQU ADCSR 00000006
EQU ADPS0 00000000
EQU ADPS1 00000001
EQU ADPS2 00000002
EQU ADIE 00000003
EQU ADIF 00000004
EQU ADATE 00000005
EQU ADFR 00000005
EQU ADSC 00000006
EQU ADEN 00000007
EQU ADCH0 00000000
EQU ADCH1 00000001
EQU ADCH2 00000002
EQU ADCH3 00000003
EQU ADCH4 00000004
EQU ADCH5 00000005
EQU ADCH6 00000006
EQU ADCH7 00000007
EQU ADCL0 00000000
EQU ADCL1 00000001
EQU ADCL2 00000002
EQU ADCL3 00000003
EQU ADCL4 00000004
EQU ADCL5 00000005
EQU ADCL6 00000006
EQU ADCL7 00000007
EQU ADTS0 00000005
EQU ADTS1 00000006
EQU ADTS2 00000007
EQU PORTA0 00000000
EQU PA0 00000000
EQU PORTA1 00000001
EQU PA1 00000001
EQU PORTA2 00000002
EQU PA2 00000002
EQU PORTA3 00000003
EQU PA3 00000003
EQU PORTA4 00000004
EQU PA4 00000004
EQU PORTA5 00000005
EQU PA5 00000005
EQU PORTA6 00000006
EQU PA6 00000006
EQU PORTA7 00000007
EQU PA7 00000007
EQU DDA0 00000000
EQU DDA1 00000001
EQU DDA2 00000002
EQU DDA3 00000003
EQU DDA4 00000004
EQU DDA5 00000005
EQU DDA6 00000006
EQU DDA7 00000007
EQU PINA0 00000000
EQU PINA1 00000001
EQU PINA2 00000002
EQU PINA3 00000003
EQU PINA4 00000004
EQU PINA5 00000005
EQU PINA6 00000006
EQU PINA7 00000007
EQU PORTB0 00000000
EQU PB0 00000000
EQU PORTB1 00000001
EQU PB1 00000001
EQU PORTB2 00000002
EQU PB2 00000002
EQU PORTB3 00000003
EQU PB3 00000003
EQU PORTB4 00000004
EQU PB4 00000004
EQU PORTB5 00000005
EQU PB5 00000005
EQU PORTB6 00000006
EQU PB6 00000006
EQU PORTB7 00000007
EQU PB7 00000007
EQU DDB0 00000000
EQU DDB1 00000001
EQU DDB2 00000002
EQU DDB3 00000003
EQU DDB4 00000004
EQU DDB5 00000005
EQU DDB6 00000006
EQU DDB7 00000007
EQU PINB0 00000000
EQU PINB1 00000001
EQU PINB2 00000002
EQU PINB3 00000003
EQU PINB4 00000004
EQU PINB5 00000005
EQU PINB6 00000006
EQU PINB7 00000007
EQU PORTC0 00000000
EQU PC0 00000000
EQU PORTC1 00000001
EQU PC1 00000001
EQU PORTC2 00000002
EQU PC2 00000002
EQU PORTC3 00000003
EQU PC3 00000003
EQU PORTC4 00000004
EQU PC4 00000004
EQU PORTC5 00000005
EQU PC5 00000005
EQU PORTC6 00000006
EQU PC6 00000006
EQU PORTC7 00000007
EQU PC7 00000007
EQU DDC0 00000000
EQU DDC1 00000001
EQU DDC2 00000002
EQU DDC3 00000003
EQU DDC4 00000004
EQU DDC5 00000005
EQU DDC6 00000006
EQU DDC7 00000007
EQU PINC0 00000000
EQU PINC1 00000001
EQU PINC2 00000002
EQU PINC3 00000003
EQU PINC4 00000004
EQU PINC5 00000005
EQU PINC6 00000006
EQU PINC7 00000007
EQU PORTD0 00000000
EQU PD0 00000000
EQU PORTD1 00000001
EQU PD1 00000001
EQU PORTD2 00000002
EQU PD2 00000002
EQU PORTD3 00000003
EQU PD3 00000003
EQU PORTD4 00000004
EQU PD4 00000004
EQU PORTD5 00000005
EQU PD5 00000005
EQU PORTD6 00000006
EQU PD6 00000006
EQU PORTD7 00000007
EQU PD7 00000007
EQU DDD0 00000000
EQU DDD1 00000001
EQU DDD2 00000002
EQU DDD3 00000003
EQU DDD4 00000004
EQU DDD5 00000005
EQU DDD6 00000006
EQU DDD7 00000007
EQU PIND0 00000000
EQU PIND1 00000001
EQU PIND2 00000002
EQU PIND3 00000003
EQU PIND4 00000004
EQU PIND5 00000005
EQU PIND6 00000006
EQU PIND7 00000007
EQU SREG_C 00000000
EQU SREG_Z 00000001
EQU SREG_N 00000002
EQU SREG_V 00000003
EQU SREG_S 00000004
EQU SREG_H 00000005
EQU SREG_T 00000006
EQU SREG_I 00000007
EQU SM0 00000004
EQU SM1 00000005
EQU SM2 00000006
EQU SE 00000007
EQU MCUSR 00000034
EQU PORF 00000000
EQU EXTRF 00000001
EQU BORF 00000002
EQU WDRF 00000003
EQU JTRF 00000004
EQU JTD 00000007
EQU CAL0 00000000
EQU CAL1 00000001
EQU CAL2 00000002
EQU CAL3 00000003
EQU CAL4 00000004
EQU CAL5 00000005
EQU CAL6 00000006
EQU CAL7 00000007
EQU PSR10 00000000
EQU PSR2 00000001
EQU PUD 00000002
EQU SPMEN 00000000
EQU PGERS 00000001
EQU PGWRT 00000002
EQU BLBSET 00000003
EQU RWWSRE 00000004
EQU ASRE 00000004
EQU RWWSB 00000006
EQU ASB 00000006
EQU SPMIE 00000007
EQU TWBR0 00000000
EQU TWBR1 00000001
EQU TWBR2 00000002
EQU TWBR3 00000003
EQU TWBR4 00000004
EQU TWBR5 00000005
EQU TWBR6 00000006
EQU TWBR7 00000007
EQU TWIE 00000000
EQU TWEN 00000002
EQU TWWC 00000003
EQU TWSTO 00000004
EQU TWSTA 00000005
EQU TWEA 00000006
EQU TWINT 00000007
EQU TWPS0 00000000
EQU TWPS1 00000001
EQU TWS3 00000003
EQU TWS4 00000004
EQU TWS5 00000005
EQU TWS6 00000006
EQU TWS7 00000007
EQU TWD0 00000000
EQU TWD1 00000001
EQU TWD2 00000002
EQU TWD3 00000003
EQU TWD4 00000004
EQU TWD5 00000005
EQU TWD6 00000006
EQU TWD7 00000007
EQU TWGCE 00000000
EQU TWA0 00000001
EQU TWA1 00000002
EQU TWA2 00000003
EQU TWA3 00000004
EQU TWA4 00000005
EQU TWA5 00000006
EQU TWA6 00000007
EQU LB1 00000000
EQU LB2 00000001
EQU BLB01 00000002
EQU BLB02 00000003
EQU BLB11 00000004
EQU BLB12 00000005
EQU CKSEL0 00000000
EQU CKSEL1 00000001
EQU CKSEL2 00000002
EQU CKSEL3 00000003
EQU BODEN 00000006
EQU BODLEVEL 00000007
EQU BOOTRST 00000000
EQU BOOTSZ0 00000001
EQU BOOTSZ1 00000002
EQU EESAVE 00000003
EQU SPIEN 00000005
EQU JTAGEN 00000006
EQU OCDEN 00000007
DEF XH r27
DEF XL r26
DEF YH r29
DEF YL r28
DEF ZH r31
DEF ZL r30
EQU FLASHEND 00003fff
EQU IOEND 0000003f
EQU SRAM_START 00000060
EQU SRAM_SIZE 00000800
EQU RAMEND 0000085f
EQU XRAMEND 00000000
EQU E2END 000003ff
EQU EEPROMEND 000003ff
EQU EEADRBITS 0000000a
EQU NRWW_START_ADDR 00003800
EQU NRWW_STOP_ADDR 00003fff
EQU RWW_START_ADDR 00000000
EQU RWW_STOP_ADDR 000037ff
EQU PAGESIZE 00000040
EQU FIRSTBOOTSTART 00003f00
EQU SECONDBOOTSTART 00003e00
EQU THIRDBOOTSTART 00003c00
EQU FOURTHBOOTSTART 00003800
EQU SMALLBOOTSTART 00003f00
EQU LARGEBOOTSTART 00003800
EQU INT0addr 00000002
EQU INT1addr 00000004
EQU INT2addr 00000006
EQU OC2addr 00000008
EQU OVF2addr 0000000a
EQU ICP1addr 0000000c
EQU OC1Aaddr 0000000e
EQU OC1Baddr 00000010
EQU OVF1addr 00000012
EQU OC0addr 00000014
EQU OVF0addr 00000016
EQU SPIaddr 00000018
EQU URXCaddr 0000001a
EQU UDREaddr 0000001c
EQU UTXCaddr 0000001e
EQU ADCCaddr 00000020
EQU ERDYaddr 00000022
EQU ACIaddr 00000024
EQU TWIaddr 00000026
EQU SPMRaddr 00000028
EQU INT_VECTORS_SIZE 0000002a
DEF immH r17
DEF immL r16
DEF separator r20
DEF arg0l r24
DEF arg0h r25
DEF arg1l r22
DEF arg1h r23
EQU ramOrigin 00000060
EQU stackBottom 0000065f
EQU stackSize 00000200
EQU stackTop 0000085e
EQU resetVector 00000000
EQU secondTimerVector 0000000e
EQU codeOrigin 0000002a
EQU processorFrequency 00f42400
DSEG seconds 00000060
DSEG minutes 00000061
DSEG hours 00000062
DSEG timeDisplayEnabled 00000063
DSEG alarmEnabled 00000064
DSEG alarmOn 00000065
DSEG alarmMinute 00000066
DSEG alarmHour 00000067
DSEG hourFormat 00000068
DSEG secondsFormat 00000069
CSEG main 0000002a
CSEG handleSecondTick 000000d1
CSEG initialiseLcd 0000003d
CSEG initialiseSecondTimer 00000074
CSEG menuManagerInit 0000022d
CSEG menuManagerStart 00000233
CSEG delay 00000033
CSEG waitForDelay 00000036
EQU lcdBaudRate 00002580
EQU usartBaudValue 00000067
CSEG writeCharacterToLcd 0000004a
CSEG sendByteToUsart 0000004a
CSEG clearLcd 0000004e
CSEG nextLine 00000056
CSEG sendStringToUsart 0000005b
CSEG writeStringToLcd 0000005b
CSEG sendStringLoop 0000005d
CSEG sendFlashStringToUsart 00000065
CSEG writeFlashStringToLcd 00000065
CSEG sendFlashStringLoop 0000006a
EQU timerPrescaler 00000400
EQU debugAdjust 00000001
EQU oneSecondCount 00003d09
CSEG displayTime 00000103
CSEG sixtyAdjustAfterAddition 00000099
CSEG sAdjustHigherNibbleForCarry 0000009d
CSEG sCheckLowerNibble 000000a0
CSEG sAdjustLowerNibble 000000a6
CSEG sCheckHigherNibble 000000a8
CSEG sAdjustHigherNibble 000000ae
CSEG sFinishDecimalAdjust 000000b1
CSEG twentyFourAdjustAfterAddition 000000b3
CSEG tAdjustHigherNibbleForCarry 000000b7
CSEG tCheckLowerNibble 000000ba
CSEG tAdjustLowerNibble 000000c0
CSEG tCheckHigherNibble 000000c2
CSEG tAdjustHigherNibble 000000c8
CSEG tDoFinalNumberCheck 000000cb
CSEG tFinishDecimalAdjust 000000cf
CSEG updateInternalTime 000000e1
CSEG runAlarmSystem 0000016d
CSEG leaveInterrupt 000000dc
CSEG skipToEnd 0000010b
CSEG showTime 0000010c
CSEG finishedDisplayingTime 00000169
CSEG twentyFourHourTime 0000011e
CSEG adjustForTwelveAm 00000117
CSEG adjustForPm 00000119
CSEG showHour 00000120
CSEG noShowColon 00000132
CSEG showMinutes 00000133
CSEG showAmPm 00000155
CSEG showPm 00000163
CSEG testForAlarmOn 00000177
CSEG turnAlarmOff 00000190
CSEG finishAlarmHandler 0000018b
CSEG testForAlarmMatch 0000017d
CSEG triggerAlarm 0000018a
CSEG turnAlarmOn 00000195
EQU row1 00000000
EQU row2 00000007
EQU row3 00000006
EQU row4 00000004
EQU col1 00000005
EQU col2 00000003
EQU col3 00000002
EQU col4 00000001
EQU row1Pressed 000000d0
EQU row2Pressed 00000051
EQU row3Pressed 00000091
EQU row4Pressed 000000c1
EQU col1Pressed 0000000e
EQU col2Pressed 00000026
EQU col3Pressed 0000002a
EQU col4Pressed 0000002c
EQU noKeyCode 00000000
EQU row1Code 00000001
EQU row2Code 00000005
EQU row3Code 00000009
EQU row4Code 0000000d
EQU col1Code 00000000
EQU col2Code 00000001
EQU col3Code 00000002
EQU col4Code 00000003
EQU scanRowDataDirection 0000002e
EQU scanRowPort 000000d1
EQU scanColDataDirection 000000d1
EQU scanColPort 0000002e
CSEG scanForKeypress 0000019e
CSEG scanRow 000001a0
CSEG checkForRow1 000001b9
CSEG checkForRow2 000001bd
CSEG scanColumn 000001cb
CSEG checkForRow3 000001c1
CSEG checkForRow4 000001c5
CSEG noKeyPressedRow 000001c9
CSEG finishKeypadScan 000001fa
CSEG checkForCol1 000001e5
CSEG checkForCol2 000001ea
CSEG checkForCol3 000001ef
CSEG checkForCol4 000001f4
CSEG noKeyPressedCol 000001f9
CSEG getCharacter 000001fd
CSEG waitForPress 000001ff
CSEG waitForRelease 00000204
CSEG snoozeHandler 0000020f
CSEG alarmOffHandler 00000227
DEF position r18
DEF top r19
CSEG menuLaunch 00000237
CSEG waitForMainKeypress 0000023c
CSEG displayMenu 00000292
CSEG upArrowPressed 0000024c
CSEG downArrowPressed 00000251
CSEG enterPressed 00000261
CSEG clockLaunch 00000247
CSEG adjustMenuDisplayPosition 00000256
CSEG moveMenuDown 0000025d
CSEG moveMenuUp 0000025f
CSEG changeAlarmStatus 0000026a
CSEG setAlarm 0000027f
CSEG setTime 00000287
CSEG changeHourFormat 00000271
CSEG changeSecondsFormat 00000278
CSEG inputTime 00000838
DEF hourIn r3
DEF minuteIn r2
CSEG showTopLine 00000297
CSEG showTopLineIndicator 0000029f
CSEG nonSelectedMarker 00000800
CSEG showTopLineMessage 000002a4
CSEG selectedMarker 00000801
CSEG showTopLineAlarmStatus 000002ab
CSEG showTopLineSetAlarm 000002ad
CSEG showTopLineSetTime 000002b3
CSEG showTopLineHourFormat 000002b9
CSEG displayAlarmMessage 000002e3
CSEG showBottomLine 000002ba
CSEG setAlarmMessage 0000080e
CSEG setAlarmMessageEnd 00000813
CSEG setTimeMessage 00000814
CSEG setTimeMessageEnd 00000819
CSEG displayHourFormatMessage 000002f6
CSEG showBottomLineSpace 000002c3
CSEG showBottomLineMessage 000002c8
CSEG showBottomLineSetAlarm 000002cf
CSEG showBottomLineSetTime 000002d5
CSEG showBottomLineHourFormat 000002db
CSEG showBottomLineSecondsFormat 000002dd
CSEG finishDisplayMenu 000002de
CSEG displaySecondsFormatMessage 00000309
CSEG displayAlarmOnMessage 000002ef
CSEG alarmOffMessage 00000802
CSEG alarmOffMessageEnd 00000807
CSEG alarmOnMessage 00000808
CSEG alarmOnMessageEnd 0000080d
CSEG displayTwentyFourHourMessage 00000302
CSEG twelveHourMessage 0000081a
CSEG twelveHourMessageEnd 00000821
CSEG twentyFourHourMessage 00000822
CSEG twentyFourHourMessageEnd 00000829
CSEG displaySecondsOnMessage 00000315
CSEG secondsOffMessage 0000082a
CSEG secondsOffMessageEnd 00000830
CSEG secondsOnMessage 00000831
CSEG secondsOnMessageEnd 00000837
CSEG enterTimeMessage 00001000
CSEG enterTimeMessageEnd 00001006
CSEG getFirstNumber 0000084f
CSEG errorEntry 00000848
CSEG errorMessage 00001007
CSEG errorMessageEnd 0000100c
CSEG finishJump 00000878
CSEG getNumberFromScanCode 000008b5
CSEG getSecondNumber 00000864
CSEG finish 000008ab
CSEG showColon 00000879
CSEG getThirdNumber 0000087f
CSEG getFourthNumber 00000894
CSEG toErrorEntry 000008b4
CSEG key2 000008b9
CSEG key3 000008bd
CSEG key4 000008c1
CSEG key5 000008c5
CSEG key6 000008c9
CSEG key7 000008cd
CSEG key8 000008d1
CSEG key9 000008d5
CSEG key0 000008d9