handling memory values specified in N 8-byte words/MB/GB/KW/MW/GW