Added memory functions
Merge branch 'master' of https://github.com/mks65-dw/reference