Added a memory test procedure.

Changed pOutputToLeds to take al as most significant.
Changed first instruction to cli instead of nop.
Various small fixes. Input with echo now calls input without echo.