AARCHMRS Schema 2.5.3

↚ Home

Types.PstateField object

This object is used to link to a PSTATE field, it holds all the components required for the linking.

object

Properties Type Description
_meta Meta

Metadata

See Meta for more information.
_type
Enum
Types.PstateField
value
  • object

Provides a dictionary that represents:

  • name: Which holds the PSTATE field value, for example PSTATE.EL, PSTATE.D.
  • slices: Represents the bit slice on the PSTATE value.
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.

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

{
  "info": [
    "This object is used to link to a PSTATE field, it holds all the components required for the linking."
  ],
  "title": "Types.PstateField",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "deprecated": "Replaced with $(AST.Concat) and $(Types.Variable).",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "_meta": {
      "$ref": "../Meta.json",
      "info": [
        "Metadata"
      ]
    },
    "_type": {
      "enum": [
        "Types.PstateField"
      ]
    },
    "value": {
      "type": "object",
      "info": [
        "Provides a dictionary that represents:",
        [
          " - `name`: Which holds the `PSTATE` field value, for example `PSTATE.EL`, `PSTATE.D`.",
          " - `slices`: Represents the bit slice on the `PSTATE` value."
        ]
      ],
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "info": [
            "The name of the PSTATE field."
          ],
          "pattern": "^PSTATE\\.[A-Za-z][A-Za-z0-9_]*$"
        },
        "slices": {
          "oneOf": [
            {
              "$ref": "../Rangeset.json"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "value"
  ]
}