partial changes for examples/memread128