creating memory and setting rom and opcodes
pull