This is a collection of Intel®’ IA32® Software Developer's Manuals (URL of the day) and AMD' AMD64 Architecture Programmer's Manual together with the related specifications, application notes, white papers, and change logs. The collection aims to keep all available revisions. It was originally created by Michal Necasek, see OS/2 Museum.

If you have a public document, related to the IA32® specifications and missing from the collection, please mail it to me. The content of this URL and all sub-ULRs is available for convenient bulk download by rsync x86docs password "" (empty).

ArrayAccessOp - ARM Machine Readable Schema - 2.8

AARCHMRS Schema 2.8

↚ Home

AST.ArrayAccessOp object

A model representing an array access:

  • MYARRAY[[m]]
  • MYARRAY[[1]]

object

Properties Type Description
_meta Meta
See Meta for more information.
_type
Enum
AST.ArrayAccessOp
index BinaryOp

The ArrayAccessOp's index.

See definitions.expression in BinaryOp for more information.
var BinaryOp

The array object to be indexed.

See definitions.expression in BinaryOp for more information.
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "AST.ArrayAccessOp", 
    "var": {
        "_type": "AST.Identifier", 
        "value": "MYARRAY"
    }, 
    "index": {
        "_type": "AST.Identifier", 
        "value": "m"
    }
}
{
    "_type": "AST.ArrayAccessOp", 
    "var": {
        "_type": "AST.Identifier", 
        "value": "MYARRAY"
    }, 
    "index": {
        "_type": "AST.Integer", 
        "value": 1
    }
}

Schema http://json-schema.org/draft-04/schema#

{
  "additionalProperties": false,
  "info": [
    "A model representing an array access:",
    [
      " - `MYARRAY[[m]]`",
      " - `MYARRAY[[1]]`"
    ]
  ],
  "examples": [
    {
      "_type": "AST.ArrayAccessOp",
      "var": {
        "_type": "AST.Identifier",
        "value": "MYARRAY"
      },
      "index": {
        "_type": "AST.Identifier",
        "value": "m"
      }
    },
    {
      "_type": "AST.ArrayAccessOp",
      "var": {
        "_type": "AST.Identifier",
        "value": "MYARRAY"
      },
      "index": {
        "_type": "AST.Integer",
        "value": 1
      }
    }
  ],
  "properties": {
    "_meta": {
      "$ref": "../Meta.json"
    },
    "_type": {
      "enum": [
        "AST.ArrayAccessOp"
      ]
    },
    "var": {
      "info": [
        "The array object to be indexed."
      ],
      "$ref": "BinaryOp.json#/definitions/expression"
    },
    "index": {
      "info": [
        "The ArrayAccessOp's index."
      ],
      "$ref": "BinaryOp.json#/definitions/expression"
    }
  },
  "required": [
    "var",
    "index"
  ],
  "title": "ArrayAccessOp",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema#"
}