{
  "id": 7480,
  "title": "EIP-7480: EOF - Data section access instructions",
  "status": "Stagnant",
  "type": "Standards Track",
  "category": "Core",
  "summary": "This introduces four new instructions for EOF contracts to access their data section: DATALOAD (loads 32-byte word), DATALOADN (optimized version with compile-time offset), DATASIZE (returns data section size), and DATACOPY (copies data to memory). These replace the deprecated CODECOPY instruction for data access in EOF contracts, enabling proper separation between code and data. The instructions follow the same pattern as existing data access instructions like those for calldata and returndata, with zero-padding for out-of-bounds access and validation to ensure safe operation.",
  "impacts": [],
  "discussion_url": "https://ethereum-magicians.org/t/eip-7480-eof-data-instructions/15414",
  "source_markdown_url": "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7480.md",
  "canonical_url": "/latest/eips/7480.json",
  "markdown_url": "/latest/eips/7480.md",
  "citations": [
    {
      "recordId": "eip-7480",
      "artifactPath": "normalized/7480.json",
      "url": "/records/proposal/eip-7480/normalized/7480.json",
      "label": "EIP-7480: EOF - Data section access instructions",
      "snippet": "This introduces four new instructions for EOF contracts to access their data section: DATALOAD (loads 32-byte word), DATALOADN (optimized version with compile-time offset), DATASIZE (returns data section size), and DATAC"
    }
  ]
}
