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)

NikonML-L3.png

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:

46 program words for 15-9 us ON cycle Fișier:NikonML-L3 15 9.txt

43 program words for 12-12 us ON cycle Fișier:NikonML-L3 12 12.txt