Use a valid data address (ie. > 256 && < 512) and put something in memory before reading to prevent segfaults.