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).

Types.Field - ARM Machine Readable Schema - 2.8

AARCHMRS Schema 2.8

↚ Home

Types.Field object

The Types.Field schema provides a mechanism to reference a field in a register. If you wish to refer to an entire Register, you should instead use Types.RegisterType.

object

Properties Type Description
_meta Meta

Metadata

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

This follows the same principle as a Types.RegisterType with the addition of the field property which defines the name of the field being referenced.

Properties Type Description
field
  • string
instance RegisterType
See definitions.instance in RegisterType for more information.
name RegisterType
See definitions.name in RegisterType for more information.
slices
oneOf [
null
]
oneOf Rangeset
oneOf null
state RegisterType
See definitions.state in RegisterType for more information.
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "state": "AArch64", 
    "name": "REG0", 
    "field": "F1"
}
{
    "state": "AArch32", 
    "name": "REG0", 
    "field": "F1", 
    "slices": [
        {
            "_type": "Range", 
            "start": 4, 
            "width": 1
        }
    ], 
    "instance": "REG0_S"
}
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "Types.Field", 
    "value": {
        "state": "AArch64", 
        "name": "REG0", 
        "field": "F1"
    }
}
{
    "_type": "Types.Field", 
    "value": {
        "state": "AArch32", 
        "name": "REG0", 
        "field": "F1", 
        "slices": [
            {
                "_type": "Range", 
                "start": 4, 
                "width": 1
            }
        ], 
        "instance": "REG0_S"
    }
}

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

{
  "title": "Types.Field",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "info": [
    [
      "The $(Types.Field) schema provides a mechanism to reference a field in a register.",
      "If you wish to refer to an entire Register, you should instead use $(Types.RegisterType)."
    ]
  ],
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "_meta": {
      "$ref": "../Meta.json",
      "info": [
        "Metadata"
      ]
    },
    "_type": {
      "enum": [
        "Types.Field"
      ]
    },
    "value": {
      "info": [
        [
          "This follows the same principle as a $(Types.RegisterType) with the ",
          "addition of the `field` property which defines the name of the field",
          "being referenced."
        ]
      ],
      "type": "object",
      "properties": {
        "state": {
          "$ref": "RegisterType.json#/definitions/state"
        },
        "name": {
          "$ref": "RegisterType.json#/definitions/name"
        },
        "field": {
          "type": "string"
        },
        "slices": {
          "oneOf": [
            {
              "$ref": "../Rangeset.json"
            },
            {
              "type": "null"
            }
          ]
        },
        "instance": {
          "$ref": "RegisterType.json#/definitions/instance"
        }
      },
      "required": [
        "state",
        "name",
        "field"
      ],
      "examples": [
        {
          "state": "AArch64",
          "name": "REG0",
          "field": "F1"
        },
        {
          "state": "AArch32",
          "name": "REG0",
          "field": "F1",
          "slices": [
            {
              "_type": "Range",
              "start": 4,
              "width": 1
            }
          ],
          "instance": "REG0_S"
        }
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "value"
  ],
  "examples": [
    {
      "_type": "Types.Field",
      "value": {
        "state": "AArch64",
        "name": "REG0",
        "field": "F1"
      }
    },
    {
      "_type": "Types.Field",
      "value": {
        "state": "AArch32",
        "name": "REG0",
        "field": "F1",
        "slices": [
          {
            "_type": "Range",
            "start": 4,
            "width": 1
          }
        ],
        "instance": "REG0_S"
      }
    }
  ]
}