Register memory vs cache memory