AARCHMRS Schema 2.7.4

↚ Home

Instruction.Symbols.Literal object

A Literal is a string of characters that is present in the assembly stream as it is written. For example, if the literal value is "ADD", then the characters A, D, D are present in the assembly stream with no intervening spaces.

The example below is for the Literal symbol "ADD".

object

Properties Type Description
_meta Meta

Metadata

See Meta for more information.
_type
Enum
Instruction.Symbols.Literal
value
  • string

The literal symbol to match when parsing assembly.

Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.
Examples
{
    "_type": "Instruction.Symbols.Literal", 
    "value": "ADD"
}

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

{
  "info": [
    [
      "A $(~Instruction.Symbols.Literal) is a string of characters that is present in the",
      "assembly stream as it is written. For example, if the literal value is `\"ADD\"`,",
      "then the characters `A`, `D`, `D` are present in the assembly stream with no intervening spaces."
    ],
    "The example below is for the $(~Instruction.Symbols.Literal) symbol `\"ADD\"`."
  ],
  "type": "object",
  "examples": [
    {
      "_type": "Instruction.Symbols.Literal",
      "value": "ADD"
    }
  ],
  "properties": {
    "_meta": {
      "$ref": "../../Meta.json",
      "info": [
        "Metadata"
      ]
    },
    "_type": {
      "enum": [
        "Instruction.Symbols.Literal"
      ]
    },
    "value": {
      "info": [
        "The literal symbol to match when parsing assembly."
      ],
      "type": "string"
    }
  },
  "required": [
    "value"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Instruction.Symbols.Literal"
}