implement memory allocation
0 cycle with out exceptions
1st cycle without CPU