PC Lab 2

De la WikiLabs
Jump to navigationJump to search

Session 2

Codesize optimization:

Implement a Nikon ML-L3 remote control using a PIC10F200 (pattern is shown in the picture below)

Points (out of 10) vs. expected performance:

5 for up to 170 words of program memory, 25 words of RAM.

6 for up to 150 words of program memory, 20 words of RAM.

7 for up to 130 words of program memory, 15 words of RAM.

8 for up to 110 words of program memory, 10 words of RAM.

9 for up to 90 words of program memory, 5 words of RAM.

10 for up to 70 words of program memory, 3 words of RAM.

NB: Sourcecode may be of any size

Reference implementation:

39 program words for 15-9 us ON cycle Media:ML-L3_15_9.txt

36 program words for 12-12 us ON cycle Media:ML-L3_12_12.txt