RAM Allocation
Variable                                                          Address   Size
--------------------------------------------------------------------------------
cw                                                                0x0600       4
ccw                                                               0x0604       4
cnt                                                               0x0608       2
cnt2                                                              0x060A       2

EEPROM Allocation
Variable                                                          Address   Size
--------------------------------------------------------------------------------

Register Allocation
Variable                                                          Register  Size
--------------------------------------------------------------------------------
Flag                                                              GPIOR0.0  1bit
Dir                                                               R4,R5        2
Pulse_cnt                                                         R6,R7        2
