memory, cpu fix and start

fix some memory, started cpu/op codes