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

Range - ARM Machine Readable Schema - 2.8

AARCHMRS Schema 2.8

↚ Home

Range object

The Range schema defines a slice position of a binary number. For example 4:2 of a 8-bit binary number '00001110' references 3-bits at position 4 (most significant bit) to position 2 (least significant bit). To achieve this the Range schema references a start position (referencing the least significant bit), in this case 2, and the width to scan (towards the most significant bit), in this case 3.

object

Properties Type Description
_meta Meta
See Meta for more information.
_type
Enum
Range
start
  • integer

The position to start the scan of a bitstring.

Minimum
0
width
  • integer

The number of bits to scan in the direction of most significant bit.

Minimum
1
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "Range", 
    "start": 2, 
    "width": 3
}

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

{
  "additionalProperties": false,
  "examples": [
    {
      "_type": "Range",
      "start": 2,
      "width": 3
    }
  ],
  "info": [
    [
      "The $(Range) schema defines a slice position of a binary number. For example `4:2` ",
      "of a 8-bit binary number `'00001110'` references 3-bits at position 4",
      "(most significant bit) to position 2 (least significant bit). To achieve this the",
      "$(Range) schema references a `start` position (referencing the least significant bit),",
      "in this case 2, and the `width` to scan (towards the most significant bit), in this case 3."
    ]
  ],
  "properties": {
    "_meta": {
      "$ref": "Meta.json"
    },
    "_type": {
      "enum": [
        "Range"
      ]
    },
    "start": {
      "info": [
        "The position to start the scan of a bitstring."
      ],
      "minimum": 0,
      "type": "integer"
    },
    "width": {
      "info": [
        "The number of bits to scan in the direction of most significant bit."
      ],
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "start",
    "width"
  ],
  "title": "Range",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema#"
}