-
Notifications
You must be signed in to change notification settings - Fork 0
/
inshallah.asm
1337 lines (1045 loc) · 92.1 KB
/
inshallah.asm
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
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#####################################################################
#
#
# Student: Name: Mahak Khurmi, Student Number: 1006346250
#
# CSC258H5S Fall 2020 Assembly Final Project
# University of Toronto, St. George
# Bitmap Display Configuration:
# - Unit width in pixels: 4
# - Unit height in pixels: 4
# - Display width in pixels: 256
# - Display height in pixels: 256
# - Base Address for Display: 0x10008000 ($gp)
#
# Which milestone is reached in this submission?
# - Milestone 5
#
# Which approved additional features have been implemented?
# (See the assignment handout for the list of additional features)
# Milestone- 4 features:
# 1. (a) Scoreboard / score count: Display on the screen
# 2. (b) Game over / retry
#
# Milestone -5 features:
# 1. Fancier graphics
# 2. Dynamic on-screen notifications
# 3. Opponents / lethal creatures
# ... (add more if necessary)
#
# Any additional information that the TA needs to know:
# - (write here, if any)
#
#####################################################################
.data
displayAddress: .word 0x10008000
backgroundNew: .word 0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff00,0xfefbfb,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xfbfefb,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xfefbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbfe,0xffff00,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff00,0xffff00,0xffff00,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xfefef6,0xfef6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6f6,0xf6f6fe,0xf6fefe,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff
retry: .word 0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xff0000,0xff0000,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xfbfbf9,0xff0000,0xf9fbfb,0xfbfbf9,0xff0000,0xf9fbfb,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xffff00,0xfbfb00,0xfb00ff,0xffff,0xffffff,0xffff00,0xff0000,0xff,0xffff,0xffff00,0xff00ff,0xff00,0xff00ff,0xff00,0xff0000,0x0,0xff,0xff00,0xff00ff,0xffff,0xffff00,0xff0000,0x0,0xff,0xff00,0xff0000,0xff
creature: .word 0x10008264, 0x10008368, 0x1000846C, 0x1000856C, 0x10008668, 0x10008764, 0x10008470, 0x10008570, 0x10008674, 0x10008778, 0x10008374, 0x10008278
blue: .word 0x0000ff
scoreNumber: .word 1
creaturePixel: .word 0x10008450
.text
# s3 stores the starting value of doodle
# t9 stores the number of loops
# s0 stores value for the fourth plank
# s1 stores value for the third plank
# s2 stores value for the second plank
# s4 stores value for the first plank
#a2 stores value for the jumping thing
Start:
addi $t9, $zero, 0
lw $t0, displayAddress # $t0 stores the base address for display
addi $s3, $t0, 15484 # s3 = t0 + 15484
addi $s4, $t0, 560 # first platform pixel
addi $s2, $t0, 4688 # second platform
addi $s1, $t0, 8588 # third platform
addi $s0, $t0, 12448 # fourth platform
addi $a2, $zero, 9
lw $t1, creaturePixel($zero) # load value of first pixel in t0
la $t1, creaturePixel # store address of variable
li $t2, 0x1000846C # reset value of creaturePixel variable
sw $t2, 0($t1)
lw $t1, scoreNumber($zero) # load value of first pixel in t0
la $t1, scoreNumber # store address of variable
li $t2, 1 # reset value of score to 1
sw $t2, 0($t1)
Main: addi $t9, $t9, 1
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $t0, 16128
bge $s3, $t1, GameOver
jal BackgroundPaintFunction # call to the function that paints background
jal LethalArea
# 1st plank
lw $t0, displayAddress # $t0 stores the base address for display
li $t1, 0xff1493 # t1 stores colour
addi $sp, $sp, -4 # push $t1 value onto stack
sw $t1, 0($sp)
addi $t2, $zero, 15 # length of plank
addi $sp, $sp, -4 # push $t2 value onto stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # push s4 (first platform) value onto stack
sw $s4, 0($sp)
jal LineFunction
# 2nd plank
lw $t0, displayAddress # $t0 stores the base address for display
li $t1, 0x9400d3 # t1 stores colour
addi $sp, $sp, -4 # push $t1 value onto stack
sw $t1, 0($sp)
addi $t2, $zero, 15 # length of plank
addi $sp, $sp, -4 # push $t2 value onto stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # push s2 (second platform) value onto stack
sw $s2, 0($sp)
jal LineFunction
# 3rd plank
lw $t0, displayAddress # $t0 stores the base address for display
li $t1, 0x008b8b # t1 stores colour
addi $sp, $sp, -4 # push $t1 value onto stack
sw $t1, 0($sp)
addi $t2, $zero, 15 # length of plank
addi $sp, $sp, -4 # push $t2 value onto stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # push s1 (third platform) value onto stack
sw $s1, 0($sp)
jal LineFunction
# 4th plank
lw $t0, displayAddress # $t0 stores the base address for display
li $t1, 0xff0000 # t1 stores colour
addi $sp, $sp, -4 # push $t1 value onto stack
sw $t1, 0($sp)
addi $t2, $zero, 15 # length of plank
addi $sp, $sp, -4 # push $t2 value onto stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # push s0 (fourth platform) value onto stack
sw $s0, 0($sp)
jal LineFunction
addi $t0, $zero, 4
bge $t0, $t9, PlatformBelowDoodle
j PlatformRecreateInTextCode
PlatformBelowDoodle:
# plank below doodle
lw $t0, displayAddress # $t0 stores the base address for display
li $t1, 0x7fffd4 # t1 stores colour
addi $sp, $sp, -4 # push $t1 value onto stack
sw $t1, 0($sp)
addi $t2, $zero, 10 # length of plank
addi $sp, $sp, -4 # push $t2 value onto stack
sw $t2, 0($sp)
lw $t0, displayAddress # $t0 stores the base address for display
addi $t3, $t0, 16248 # s3 = t0 + 15484
addi $sp, $sp, -4 # push t3 (fourth platform) value onto stack
sw $t3, 0($sp)
jal LineFunction
PlatformRecreateInTextCode:# platform on top recreate
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $t0, 15872
add $t2, $s0, $zero
bge $t2, $t1, RecreatingPlatform1
j sub1
# random platform selection function
RecreatingPlatform1:
jal RandomPlatform
lw $s0, 0($sp) # pop the value into s0
addi $sp, $sp, 4
j Jumping_code
sub1:
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $t0, 15872
add $t2, $s1, $zero
bge $t2, $t1, RecreatingPlatform2
j sub2
# random platform selection function
RecreatingPlatform2:
jal RandomPlatform
lw $s1, 0($sp) # pop the lvalue into s1
addi $sp, $sp, 4
j Jumping_code
sub2:
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $t0, 15872
add $t2, $s2, $zero
bge $t2, $t1, RecreatingPlatform3
j sub3
# random platform selection function
RecreatingPlatform3:
jal RandomPlatform
lw $s2, 0($sp) # pop the value into s2
addi $sp, $sp, 4
j Jumping_code
sub3:
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $t0, 15872
add $t2, $s4, $zero
bge $t2, $t1, RecreatingPlatform4
j Jumping_code
# random platform selection function
RecreatingPlatform4:
jal RandomPlatform
lw $s4, 0($sp) # pop the value into s4
addi $sp, $sp, 4
# JUMP
Jumping_code:
jal DoodleJump
sub4: # for updating values of platforms, i.e. moving them downwards
addi $t1, $zero, 4
div $t9, $t1
mfhi $t1
beq $t1, $zero, updatePlatforms
j KeyPressCheck
updatePlatforms:
addi $s0, $s0, 512
addi $s1, $s1, 512
addi $s2, $s2, 512
addi $s4, $s4, 512
KeyPressCheck:
# checking if keyboard key is pressed
lw $t8, 0xffff0000
beq $t8,0x1,KeyboardInput
j DoodlePaintCall
KeyboardInput:
lw $t2, 0xffff0004
beq $t2, 0x6A, respond_to_j
beq $t2, 0x6B, respond_to_k
j DoodlePaintCall
respond_to_j:
addi $s3, $s3, -4
j DoodlePaintCall
respond_to_k:
addi $s3, $s3, 4
j DoodlePaintCall
DoodlePaintCall:
addi $sp, $sp, -4 # push $s3 value onto stack
sw $s3, 0($sp)
jal DoodlePaint # call to DoodlePaint function
ScoreAndMessage:
jal Score
lw $t0, scoreNumber($zero)
addi $t2, $zero, 5
div $t0, $t2
mfhi $t2
beq $t2, $zero, ExclamationWord
# Lethalcreature_call
lw $t0, scoreNumber($zero)
addi $t2, $zero, 4
div $t0, $t2
mflo $t2
addi $t1, $zero, 2
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 4
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 7
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 9
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 12
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 15
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 18
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 21
beq $t2, $t1, CreaturePaint
addi $t1, $zero, 24
beq $t2, $t1, CreaturePaint
la $t1, creaturePixel
li $t2, 0x1000846C
sw $t2, 0($t1)
j LoopbackToMain
CreaturePaint:
lw $t1, creaturePixel
addi $sp, $sp, -4 # push $t1 value onto stack i.e. first pixel of creature
sw $t1, 0($sp)
jal LethalCreaturePaint
lw $t0, creaturePixel($zero) # load value of first pixel in t0
la $t1, creaturePixel # store address of variable
addi $t2, $t0, 256 # add 256 to variable value
sw $t2, 0($t1) # replace current value of variable with this new value (current value + 256)
LoopbackToMain:
li $v0, 32
li $a0, 100
syscall
j Main
##### End of Main Program ######
# ------------------------------------------------------------------------------------
RandomPlatform:
# Parameters: None
# Return : pixel value
lw $t0, displayAddress # $t0 stores the base address for display
# horizontal coordinate value
li $v0, 42
li $a0, 0
li $a1, 40
syscall
add $t3, $zero, $a0 # updated t3 with horizontal random value and t3 = t0 + a0 (aligning with the address)
addi $t1, $zero, 4
mult $t3, $t1
mflo $t3
add $t3, $t3, $t0 # t3 = t3 + t0
addi $sp, $sp, -4 # push pixel value onto Stack
sw $t3, 0($sp)
jr $ra
# Game Over
GameOver:
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $zero, 4096
la $t3, retry
add $t2, $zero, $zero # put the index into $t2
RetryPaint:
beq $t1, $zero, UpdatingT1 # loop's if condition
add $t5, $t2, $t3 # combine the two components of the address
lw $t4, 0($t5) # get the value from the array cell
sw $t4, 0($t0)
addi $t2, $t2, 4
addi $t1, $t1, -1
addi $t0, $t0, 4 # next pixel
j RetryPaint
UpdatingT1:
addi $t1, $zero, 40
KeyboardControl:
lw $t8, 0xffff0000
beq $t8,0x1,KeyboardInput1
HoldLoop:
beq $t1, $zero, ExitCall
li $v0, 32
li $a0, 100
syscall
addi $t1, $t1, -1
j KeyboardControl
ExitCall:
j Exit
KeyboardInput1:
lw $t2, 0xffff0004
beq $t2, 0x72, respond_to_r
beq $t2, 0x52, respond_to_r
j Exit
respond_to_r:
j Start
# ---------------------------------------------------------------
# LethalCreature Check
LethalArea:
addi $t0, $s3, -1280
addi $t7, $t0, 256
lw $t1, creaturePixel($zero)
# t2 stores 1 st tentacle value (top left)
# t3 stores 2 nd tentacle value (top right)
# t4 stores 3 rd tentacle value (bottom left)
# t5 stores 4 th tentacle value (bottom right)
addi $t2, $t1, -520
addi $t3, $t1, -500
addi $t4, $t1, 760
addi $t5, $t1, 780
addi $t6, $zero, 4
IllegalAreaCheckLoop:
beq $t6, $zero, JumpBackToFunction
beq $t0, $t2, GameOver
beq $t0, $t3, GameOver
beq $t0, $t4, GameOver
beq $t0, $t5, GameOver
beq $t7, $t2, GameOver
beq $t7, $t3, GameOver
beq $t7, $t4, GameOver
beq $t7, $t5, GameOver
addi $t0, $t0, 4
addi $t7, $t7, 256
addi $t6, $t6, -1
j IllegalAreaCheckLoop
JumpBackToFunction:
jr $ra
# BackgroundPaint Start
BackgroundPaintFunction:
# parameters: None
# returns: None
lw $t0, displayAddress # $t0 stores the base address for display
addi $t1, $zero, 4096
la $t3, backgroundNew
add $t2, $zero, $zero # put the index into $t2
BackgroundLoop:
beq $t1, $zero, RestOfBackground # loop's if condition
add $t5, $t2, $t3 # combine the two components of the address
lw $t4, 0($t5) # get the value from the array cell
sw $t4, 0($t0)
addi $t2, $t2, 4
addi $t1, $t1, -1
addi $t0, $t0, 4 # next pixel
j BackgroundLoop
RestOfBackground:
jr $ra
# ---------------------------------------------------------------
DoodleJump:
# parameters: None
# return: None
addi $sp, $sp, -4 # push ra value onto Stack
sw $ra, 0($sp)
jal DoodlePlatformJump
lw $t7, 0($sp) # pop yes/no value from stack for doodle jump into t7
addi $sp, $sp, 4
lw $ra, 0($sp) # pop ra value from stack
addi $sp, $sp, 4
beq $t7, $zero, jump_up_platform # if t7 = 0, then jump_up
addi $t8, $zero, 1 # t8 = 5
bge $a2, $t8, jump_up_platform # If a2 >= t8, then jump_up
jump_down:
addi $s3, $s3, 256
jr $ra
jump_up_platform:
addi $s3, $s3, -512
addi $a2, $a2, -1
jr $ra
# ---------------------------------------------------------------
DoodlePlatformJump:
#Parameter: None
# Return:
# 1. jump yes/no (0/1)
lw $t0, displayAddress # $t0 stores the base address for display
addi $a1, $s3, 512 # a1 = s3 + 512
add $t1, $s0, $zero # t1 = s0 (so has the platform address)
add $t6, $s1, $zero
add $t7, $s2, $zero
add $t8, $s4, $zero
addi $t2, $zero, 15 # loop length
CheckLoop1:
beq $t2, $zero, NoJump
beq $a1, $t1, YesJump
beq $a1, $t6, YesJump
beq $a1, $t7, YesJump
beq $a1, $t8, YesJump
addi $t1, $t1, 4
addi $t6, $t6, 4
addi $t7, $t7, 4
addi $t8, $t8, 4
addi $t2, $t2, -1
j CheckLoop1
NoJump:
addi $t5, $zero, 1
addi $sp, $sp, -4 # push t5 value onto Stack
sw $t5, 0($sp)
jr $ra
YesJump:
addi $a2, $zero, 9
addi $t5, $zero, 0
addi $sp, $sp, -4 # push t5 value onto Stack
sw $t5, 0($sp)
# updating score value
la $t2, scoreNumber # load address of the variabe
lw $t4, scoreNumber($zero)
addi $t3, $t4, 1
sw $t3, 0($t2)
jr $ra
# ---------------------------------------------------------------
DoodlePaint:
# parameters: first pixel for doodle drawing
# return: void
# s0 to t6
# s1 to t7
lw $t6, displayAddress # $t6 stores the base address for display
lw $t7, 0($sp) # pop first position of pixel for doodle in t7
addi $sp, $sp, 4
li $t2, 0xFFA500 # t2 stores the colour orange
add $t3, $zero, $t7 # t3 = s3 (first pixel value in t3)
addi $t4, $zero, 4 # (width - 1) of doodle
addi $sp, $sp, -4 # save $ra value onto stack
sw $ra, 0($sp)
#function call 1
addi $sp, $sp, -4 # save colour onto Stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # save length of line onto Stack
sw $t4, 0($sp)
addi $sp, $sp, -4 # save first pixel onto Stack
sw $t3, 0($sp)
jal LineFunction
#function call 2
li $t2, 0xFFA500 # t2 stores the colour orange
addi $t3, $t7, -256 # t3 = s1 - 256 (first pixel value in t3)
addi $t4, $zero, 4 # (width - 1) of doodle
addi $sp, $sp, -4 # save colour onto Stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # save length of line onto Stack
sw $t4, 0($sp)
addi $sp, $sp, -4 # save first pixel onto Stack
sw $t3, 0($sp)
jal LineFunction
# function call 3
li $t2, 0x964B00 # t2 stores the colour brown
addi $t3, $t7, -512 # t3 = s1 - 512 (first pixel value in t3)
addi $t4, $zero, 4 # (width - 1) of doodle
addi $sp, $sp, -4 # save colour onto Stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # save length of line onto Stack
sw $t4, 0($sp)
addi $sp, $sp, -4 # save first pixel onto Stack
sw $t3, 0($sp)
jal LineFunction
# function call 4
li $t2, 0x964B00 # t2 stores the colour brown
addi $t3, $t7, -768 # t3 = s1 - 768 (first pixel value in t3)
addi $t4, $zero, 4 # (width - 1) of doodle
addi $sp, $sp, -4 # save colour onto Stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # save length of line onto Stack
sw $t4, 0($sp)
addi $sp, $sp, -4 # save first pixel onto Stack
sw $t3, 0($sp)
jal LineFunction
# function call 5
li $t2, 0xFFA500 # t2 stores the colour orange
addi $t3, $t7, -1024 # t3 = s1 + 128 (first pixel value in t3)
addi $t4, $zero, 4 # (width - 1) of doodle
addi $sp, $sp, -4 # save colour onto Stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # save length of line onto Stack
sw $t4, 0($sp)
addi $sp, $sp, -4 # save first pixel onto Stack
sw $t3, 0($sp)
jal LineFunction
# drawing the beak
addi $t3, $t7, -1024 # t3 = s1 + 128 (first pixel value in t3)
li $t2, 0xffff00 # t2 stores the colour orange
addi $t3, $t3, 20
sw $t2, 0($t3)
addi $t3, $t3, 4
sw $t2, 0($t3)
addi $t3, $t3, 4
sw $t2, 0($t3)
# function call 6
li $t2, 0xFFA500 # t2 stores the colour orange
addi $t3, $t7, -1280 # t3 = s1 + 128 (first pixel value in t3)
addi $t4, $zero, 4 # (width - 1) of doodle
addi $sp, $sp, -4 # save colour onto Stack
sw $t2, 0($sp)
addi $sp, $sp, -4 # save length of line onto Stack
sw $t4, 0($sp)
addi $sp, $sp, -4 # save first pixel onto Stack
sw $t3, 0($sp)
jal LineFunction
# drawing legs
li $t1, 0x9acd32
addi $t3, $t7, 256 # left upper-leg
sw $t1, 0($t3)
addi $t3, $t3, 256 # left lower-leg
sw $t1, 0($t3)
addi $t3, $t3, 4
sw $t1, 0($t3)
addi $t3, $t3, 4
sw $t1, 0($t3)
li $t1, 0x9acd32
addi $t3, $t7, 272 # right upper-leg
sw $t1, 0($t3)
addi $t3, $t3, 256 # right lower-leg
sw $t1, 0($t3)
addi $t3, $t3, 4
sw $t1, 0($t3)
addi $t3, $t3, 4
sw $t1, 0($t3)
lw $ra, 0($sp) # pop the $ra value back
addi $sp, $sp, 4
jr $ra
# ---------------------------------------------------------------
LineFunction:
# paramenters: first pixel point, length of line, colour
# return: void
lw $t0, 0($sp) # pop out first pixel point value in t0
addi $sp, $sp, 4
lw $t1, 0($sp) # pop out length of line in t1
addi $sp, $sp, 4
lw $t2, 0($sp) # pop out colour
addi $sp, $sp, 4
sw $t2, 0($t0)
Condition:
beq $t1, $zero, LineFunctionEnd # If t1 == 0, then go to LineFunctionEnd
addi $t1, $t1, -1 # t1 = t1 - 1
addi $t0, $t0, 4 # t0 = t0 + 2
sw $t2, 0($t0) # paint the next pixel of the plank
j Condition
LineFunctionEnd:
jr $ra
# ---------------------------------------------------------------
LethalCreaturePaint:
# Parameter:
# 1. first pixel of lethal creature
# Return: None
lw $t1, 0($sp) # pop out first pixel point value in t1
addi $sp, $sp, 4
add $t3, $zero, $t1 # update first pixel in t3
li $t2, 0xff0000
sw $t2, 0($t1)
li $t2, 0x000000
addi $t3, $t3, 256
sw $t2, 0($t3)
addi $t3, $t3, 4
sw $t2, 0($t3)
li $t2, 0xff0000
addi $t3, $t1, 4
sw $t2, 0($t3)
#top left leg
li $t2, 0x000000
addi $t3, $t1, -256
addi $t3, $t3, -4
sw $t2, 0($t3)
addi $t3, $t3, -256
addi $t3, $t3, -4
sw $t2, 0($t3)
# top right leg
li $t2, 0x000000
addi $t3, $t1, 8
addi $t3, $t3, -256
sw $t2, 0($t3)
addi $t3, $t3, -256
addi $t3, $t3, 4
sw $t2, 0($t3)
# botton left leg
li $t2, 0x000000
addi $t3, $t1, 512
addi $t3, $t3, -4
sw $t2, 0($t3)
addi $t3, $t3, 256
addi $t3, $t3, -4
sw $t2, 0($t3)
# bottom right leg
li $t2, 0x000000
addi $t3, $t1, 8
addi $t3, $t3, 512
sw $t2, 0($t3)
addi $t3, $t3, 256
addi $t3, $t3, 4
sw $t2, 0($t3)
jr $ra
# ---------------------------------------------------------------
Score:
# Parameter: None
# Return: Null
lw $t2, scoreNumber($zero)
addi $t3, $zero, 10 # putting 10 in t3 so that we can obtain ones and tens digit
div $t2, $t3
mfhi $t3 # get ones digit
mflo $t4 # get tens digit
addi $sp, $sp, -4 # push t4 value to stack
sw $t4, 0($sp) # push t3 value to stack
addi $sp, $sp, -4 # push t3 value to stack
sw $t3, 0($sp)
OnesCall:
j OnesValue
TensCall:
j TensValue
RestOfScoreFunction:
jr $ra
OnesValue:
lw $t3, 0($sp) # pop ones value from t3 register
addi $sp, $sp, 4
add $t5, $zero, $zero # compare with 0
beq $t3, $t5, ZeroDrawOnes
addi $t5, $zero, 1 # compare with 1
beq $t3, $t5, OneDrawOnes
addi $t5, $zero, 2 # compare with 2
beq $t3, $t5, TwoDrawOnes
addi $t5, $zero, 3 # compare with 3
beq $t3, $t5, ThreeDrawOnes
addi $t5, $zero, 4 # compare with 4
beq $t3, $t5, FourDrawOnes
addi $t5, $zero, 5 # compare with 5
beq $t3, $t5, FiveDrawOnes
addi $t5, $zero, 6 # compare with 6
beq $t3, $t5, SixDrawOnes
addi $t5, $zero, 7 # compare with 7
beq $t3, $t5, SevenDrawOnes
addi $t5, $zero, 8 # compare with 8
beq $t3, $t5, EightDrawOnes
addi $t5, $zero, 9 # compare with 9
beq $t3, $t5, NineDrawOnes
TensValue:
lw $t4, 0($sp) # pop t4 value from register
addi $sp, $sp, 4
add $t5, $zero, $zero # setting compare value
beq $t4, $t5, ZeroDrawTens
addi $t5, $zero, 1 # setting compare value
beq $t4, $t5, OneDrawTens
addi $t5, $zero, 2 # setting compare value
beq $t4, $t5, TwoDrawTens
addi $t5, $zero, 3 # setting compare value
beq $t4, $t5, ThreeDrawTens
addi $t5, $zero, 4 # setting compare value
beq $t4, $t5, FourDrawTens
addi $t5, $zero, 5 # setting compare value
beq $t4, $t5, FiveDrawTens
addi $t5, $zero, 6 # setting compare value
beq $t4, $t5, SixDrawTens
addi $t5, $zero, 7 # setting compare value
beq $t4, $t5, SevenDrawTens
addi $t5, $zero, 8 # setting compare value
beq $t4, $t5, EightDrawTens
addi $t5, $zero, 9 # setting compare value
beq $t4, $t5, NineDrawTens
# SCORING METHODS
ZeroDrawOnes:
lw $t0, displayAddress
addi $t0, $t0, 24
lw $t6, blue
sw $t6, 0($t0)
sw $t6, 4($t0)
sw $t6, 8($t0)
sw $t6, 256($t0)
sw $t6, 512($t0)
sw $t6, 520($t0)
sw $t6, 264($t0)
sw $t6, 768($t0)
sw $t6, 1024($t0)
sw $t6, 1028($t0)
sw $t6, 1032($t0)
sw $t6, 776($t0)
j TensCall
ZeroDrawTens:
lw $t0, displayAddress
addi $t0, $t0, 4
lw $t6, blue
sw $t6, 0($t0)
sw $t6, 4($t0)
sw $t6, 8($t0)
sw $t6, 256($t0)
sw $t6, 512($t0)
sw $t6, 520($t0)
sw $t6, 264($t0)
sw $t6, 768($t0)
sw $t6, 1024($t0)
sw $t6, 1028($t0)
sw $t6, 1032($t0)
sw $t6, 776($t0)
j RestOfScoreFunction
OneDrawOnes:
lw $t0, displayAddress
addi $t0, $t0, 24
lw $t6, blue
sw $t6, 0($t0)
sw $t6, 256($t0)
sw $t6, 512($t0)
sw $t6, 768($t0)
sw $t6, 1024($t0)
j TensCall
OneDrawTens:
lw $t0, displayAddress
addi $t0, $t0, 4
lw $t6, blue
sw $t6, 0($t0)
sw $t6, 256($t0)
sw $t6, 512($t0)
sw $t6, 768($t0)
sw $t6, 1024($t0)
j RestOfScoreFunction
TwoDrawOnes:
lw $t0, displayAddress
addi $t0, $t0, 24
lw $t6, blue
sw $t6, 0($t0)
sw $t6, 4($t0)
sw $t6, 8($t0)
sw $t6, 512($t0)
sw $t6, 520($t0)
sw $t6, 264($t0)
sw $t6, 768($t0)
sw $t6, 1024($t0)
sw $t6, 1028($t0)
sw $t6, 1032($t0)
sw $t6, 516($t0)
j TensCall
TwoDrawTens:
lw $t0, displayAddress
addi $t0, $t0, 4
lw $t6, blue
sw $t6, 0($t0)
sw $t6, 4($t0)
sw $t6, 8($t0)