diff --git a/README.md b/README.md index c4a75c6..bad3a61 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The start of a ARM/Thumb ASM tree-sitter parser. This isn't fully complete yet s 1) Add the following snippet to your init.lua: ``` local parser_config = require "nvim-treesitter.parsers".get_parser_configs() -parser_config.asm = { +parser_config.arm = { install_info = { url = , files = {"src/parser.c"}, @@ -15,9 +15,9 @@ parser_config.asm = { generate_requires_npm = false, -- if stand-alone parser without npm dependencies requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c }, - filetype = "asm", -- if filetype does not match the parser name + filetype = "arm", -- if filetype does not match the parser name } ``` -2) Run `TSInstallFromGrammar asm` +2) Run `TSInstallFromGrammar arm` -3) Copy `queries/highlights.scm` to `/queries/after/asm/highlights.scm` (Optional, if you want the highlighting) +3) Copy `queries/highlights.scm` to `/queries/after/arm/highlights.scm` (Optional, if you want the highlighting) diff --git a/grammar.js b/grammar.js index 778c6a1..64dc8c6 100644 --- a/grammar.js +++ b/grammar.js @@ -1,5 +1,5 @@ module.exports = grammar({ - name: "asm", + name: "arm", // have to use this since upstream has asm now word: ($) => $.identifier, @@ -9,7 +9,8 @@ module.exports = grammar({ rules: { source_file: ($) => optional($._statement), - _statement: ($) => repeat1(choice($.function_definition, $.directive)), + _statement: ($) => + repeat1(choice($.function_definition, $.directive, $.include_statement)), function_definition: ($) => seq( @@ -23,10 +24,10 @@ module.exports = grammar({ $.ldm_statement, $.push_statement, $.pool_statement, - $.label - ) + $.label, + ), ), - $.return_statement + $.return_statement, ), math_statement: ($) => @@ -36,7 +37,7 @@ module.exports = grammar({ ",", field("Rn", $.register), ",", - field("operand2", choice($.register, $.constant)) + field("operand2", choice($.register, $.constant)), ), // We handle when [] or just a label and offsets @@ -60,12 +61,12 @@ module.exports = grammar({ choice( field("offset", $.constant), field("regoffset", $.register), - $.offset_statement - ) + $.offset_statement, + ), ), - "]" - ) - ) + "]", + ), + ), ), ldm_statement: ($) => @@ -76,7 +77,7 @@ module.exports = grammar({ ",", "{", field("registers", commaSep($.reg_list)), - "}" + "}", ), ldm_opcode: ($) => choice(/ldm([a-z]+)?/, /stm([a-z]+)?/), @@ -102,7 +103,7 @@ module.exports = grammar({ $.opcode, field("Rd", $.register), optional(","), - field("operand2", optional(choice($.register, $.constant))) + field("operand2", optional(choice($.register, $.constant))), ), // TODO: fairly limited and only to ARM/THUMB for now since that's all I use @@ -133,7 +134,7 @@ module.exports = grammar({ /umlal([a-z]+)?/, /smull([a-z]+)?/, /smlal([a-z]+)?/, - /nop/ + /nop/, ), return_statement: ($) => seq($.branch_opcode, field("Rm", $.register)), @@ -152,7 +153,7 @@ module.exports = grammar({ /(bpl)\s+/, /(bx)\s+/, /(bl([a-z]+)?)\s+/, - /(bg([a-z]+)?)\s+/ + /(bg([a-z]+)?)\s+/, ), //label: ($) => /(.*?):/, @@ -163,12 +164,17 @@ module.exports = grammar({ directive_statement: ($) => seq($.directive, $.constant), directive: ($) => token(/[.][0-9a-zA-Z]+/), + string: ($) => seq('"', $.identifier, '"'), + + // TODO parse the file as a string + include_statement: ($) => seq("#include", $.string), + comment: ($) => token( choice( seq("@", /(\\(.|\r?\n)|[^\\\n])*/), - seq(";", /(\\(.|\r?\n)|[^\\\n])*/) - ) + seq(";", /(\\(.|\r?\n)|[^\\\n])*/), + ), ), // Used in ldr/str and directives diff --git a/queries/highlights.scm b/queries/highlights.scm index 2cf5f4f..5170327 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -22,6 +22,8 @@ (func_name (identifier)) @function (label (identifier)) @label (directive) @preproc +(include_statement) @preproc +(string) @string [ (load_opcode) diff --git a/src/grammar.json b/src/grammar.json index 37cd754..ce63f8c 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1,5 +1,5 @@ { - "name": "asm", + "name": "arm", "word": "identifier", "rules": { "source_file": { @@ -26,6 +26,10 @@ { "type": "SYMBOL", "name": "directive" + }, + { + "type": "SYMBOL", + "name": "include_statement" } ] } @@ -762,6 +766,36 @@ "value": "[.][0-9a-zA-Z]+" } }, + "string": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "\"" + }, + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "STRING", + "value": "\"" + } + ] + }, + "include_statement": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "#include" + }, + { + "type": "SYMBOL", + "name": "string" + } + ] + }, "comment": { "type": "TOKEN", "content": { diff --git a/src/node-types.json b/src/node-types.json index c6fe3e7..4e4677f 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -108,6 +108,21 @@ ] } }, + { + "type": "include_statement", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "string", + "named": true + } + ] + } + }, { "type": "label", "named": true, @@ -460,6 +475,25 @@ { "type": "function_definition", "named": true + }, + { + "type": "include_statement", + "named": true + } + ] + } + }, + { + "type": "string", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true } ] } @@ -468,6 +502,14 @@ "type": "!", "named": false }, + { + "type": "\"", + "named": false + }, + { + "type": "#include", + "named": false + }, { "type": ",", "named": false diff --git a/src/parser.c b/src/parser.c index 7e74ce0..9ac49b1 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,4 +1,4 @@ -#include +#include "tree_sitter/parser.h" #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push @@ -6,17 +6,17 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 86 +#define STATE_COUNT 91 #define LARGE_STATE_COUNT 33 -#define SYMBOL_COUNT 78 +#define SYMBOL_COUNT 82 #define ALIAS_COUNT 1 -#define TOKEN_COUNT 56 +#define TOKEN_COUNT 58 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 9 #define MAX_ALIAS_SEQUENCE_LENGTH 8 #define PRODUCTION_ID_COUNT 19 -enum { +enum ts_symbol_identifiers { sym_identifier = 1, anon_sym_COMMA = 2, anon_sym_LBRACK = 3, @@ -69,32 +69,36 @@ enum { anon_sym_COLON = 50, sym_register = 51, sym_directive = 52, - sym_comment = 53, - aux_sym_offset_statement_token1 = 54, - sym_constant = 55, - sym_source_file = 56, - aux_sym__statement = 57, - sym_function_definition = 58, - sym_math_statement = 59, - sym_load_statement = 60, - sym_ldm_statement = 61, - sym_ldm_opcode = 62, - sym_load_opcode = 63, - sym_pool_statement = 64, - sym_push_statement = 65, - sym_reg_list = 66, - sym_push_opcode = 67, - sym_simple_statement = 68, - sym_opcode = 69, - sym_return_statement = 70, - sym_branch_statement = 71, - sym_branch_opcode = 72, - sym_label = 73, - sym_directive_statement = 74, - sym_offset_statement = 75, - aux_sym_function_definition_repeat1 = 76, - aux_sym_ldm_statement_repeat1 = 77, - alias_sym_func_name = 78, + anon_sym_DQUOTE = 53, + anon_sym_POUNDinclude = 54, + sym_comment = 55, + aux_sym_offset_statement_token1 = 56, + sym_constant = 57, + sym_source_file = 58, + aux_sym__statement = 59, + sym_function_definition = 60, + sym_math_statement = 61, + sym_load_statement = 62, + sym_ldm_statement = 63, + sym_ldm_opcode = 64, + sym_load_opcode = 65, + sym_pool_statement = 66, + sym_push_statement = 67, + sym_reg_list = 68, + sym_push_opcode = 69, + sym_simple_statement = 70, + sym_opcode = 71, + sym_return_statement = 72, + sym_branch_statement = 73, + sym_branch_opcode = 74, + sym_label = 75, + sym_directive_statement = 76, + sym_string = 77, + sym_include_statement = 78, + sym_offset_statement = 79, + aux_sym_function_definition_repeat1 = 80, + aux_sym_ldm_statement_repeat1 = 81, + alias_sym_func_name = 82, }; static const char * const ts_symbol_names[] = { @@ -151,6 +155,8 @@ static const char * const ts_symbol_names[] = { [anon_sym_COLON] = ":", [sym_register] = "register", [sym_directive] = "directive", + [anon_sym_DQUOTE] = "\"", + [anon_sym_POUNDinclude] = "#include", [sym_comment] = "comment", [aux_sym_offset_statement_token1] = "offset_statement_token1", [sym_constant] = "constant", @@ -173,6 +179,8 @@ static const char * const ts_symbol_names[] = { [sym_branch_opcode] = "branch_opcode", [sym_label] = "label", [sym_directive_statement] = "directive_statement", + [sym_string] = "string", + [sym_include_statement] = "include_statement", [sym_offset_statement] = "offset_statement", [aux_sym_function_definition_repeat1] = "function_definition_repeat1", [aux_sym_ldm_statement_repeat1] = "ldm_statement_repeat1", @@ -233,6 +241,8 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_COLON] = anon_sym_COLON, [sym_register] = sym_register, [sym_directive] = sym_directive, + [anon_sym_DQUOTE] = anon_sym_DQUOTE, + [anon_sym_POUNDinclude] = anon_sym_POUNDinclude, [sym_comment] = sym_comment, [aux_sym_offset_statement_token1] = aux_sym_offset_statement_token1, [sym_constant] = sym_constant, @@ -255,6 +265,8 @@ static const TSSymbol ts_symbol_map[] = { [sym_branch_opcode] = sym_branch_opcode, [sym_label] = sym_label, [sym_directive_statement] = sym_directive_statement, + [sym_string] = sym_string, + [sym_include_statement] = sym_include_statement, [sym_offset_statement] = sym_offset_statement, [aux_sym_function_definition_repeat1] = aux_sym_function_definition_repeat1, [aux_sym_ldm_statement_repeat1] = aux_sym_ldm_statement_repeat1, @@ -474,6 +486,14 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [anon_sym_DQUOTE] = { + .visible = true, + .named = false, + }, + [anon_sym_POUNDinclude] = { + .visible = true, + .named = false, + }, [sym_comment] = { .visible = true, .named = true, @@ -562,6 +582,14 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_string] = { + .visible = true, + .named = true, + }, + [sym_include_statement] = { + .visible = true, + .named = true, + }, [sym_offset_statement] = { .visible = true, .named = true, @@ -580,7 +608,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { }, }; -enum { +enum ts_field_identifiers { field_Rd = 1, field_Rm = 2, field_Rn = 3, @@ -786,6 +814,11 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [83] = 83, [84] = 84, [85] = 85, + [86] = 86, + [87] = 87, + [88] = 88, + [89] = 89, + [90] = 90, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -793,348 +826,332 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(7); - if (lookahead == '!') ADVANCE(11); + if (eof) ADVANCE(13); + if (lookahead == '!') ADVANCE(17); + if (lookahead == '"') ADVANCE(33); if (lookahead == '#') ADVANCE(2); - if (lookahead == ',') ADVANCE(8); - if (lookahead == '-') ADVANCE(15); - if (lookahead == '.') ADVANCE(4); - if (lookahead == '0') ADVANCE(30); - if (lookahead == ':') ADVANCE(25); - if (lookahead == ';') ADVANCE(27); - if (lookahead == '@') ADVANCE(27); - if (lookahead == '[') ADVANCE(9); - if (lookahead == ']') ADVANCE(10); - if (lookahead == 'b') ADVANCE(33); - if (lookahead == '{') ADVANCE(12); - if (lookahead == '}') ADVANCE(13); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || + if (lookahead == ',') ADVANCE(14); + if (lookahead == '-') ADVANCE(21); + if (lookahead == '.') ADVANCE(10); + if (lookahead == '0') ADVANCE(38); + if (lookahead == ':') ADVANCE(31); + if (lookahead == ';') ADVANCE(35); + if (lookahead == '@') ADVANCE(35); + if (lookahead == '[') ADVANCE(15); + if (lookahead == ']') ADVANCE(16); + if (lookahead == 'b') ADVANCE(41); + if (lookahead == '{') ADVANCE(18); + if (lookahead == '}') ADVANCE(19); + if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(0) - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(31); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(39); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); case 1: - if (lookahead == '-') ADVANCE(29); - if (lookahead == ';') ADVANCE(27); - if (lookahead == '@') ADVANCE(27); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || + if (lookahead == '-') ADVANCE(37); + if (lookahead == ';') ADVANCE(35); + if (lookahead == '@') ADVANCE(35); + if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(1) END_STATE(); case 2: - if (lookahead == '0') ADVANCE(30); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(31); + if (lookahead == '0') ADVANCE(38); + if (lookahead == 'i') ADVANCE(7); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(39); END_STATE(); case 3: + if (lookahead == 'c') ADVANCE(6); + END_STATE(); + case 4: + if (lookahead == 'd') ADVANCE(5); + END_STATE(); + case 5: + if (lookahead == 'e') ADVANCE(34); + END_STATE(); + case 6: + if (lookahead == 'l') ADVANCE(8); + END_STATE(); + case 7: + if (lookahead == 'n') ADVANCE(3); + END_STATE(); + case 8: + if (lookahead == 'u') ADVANCE(4); + END_STATE(); + case 9: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(32); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(40); END_STATE(); - case 4: + case 10: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(26); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(32); END_STATE(); - case 5: + case 11: if (lookahead != 0 && - lookahead != '\r') ADVANCE(27); - if (lookahead == '\r') ADVANCE(28); + lookahead != '\r') ADVANCE(35); + if (lookahead == '\r') ADVANCE(36); END_STATE(); - case 6: - if (eof) ADVANCE(7); + case 12: + if (eof) ADVANCE(13); if (lookahead == '#') ADVANCE(2); - if (lookahead == ',') ADVANCE(8); - if (lookahead == '-') ADVANCE(14); - if (lookahead == '.') ADVANCE(4); - if (lookahead == '0') ADVANCE(30); - if (lookahead == ';') ADVANCE(27); - if (lookahead == '@') ADVANCE(27); - if (lookahead == '[') ADVANCE(9); - if (lookahead == ']') ADVANCE(10); - if (lookahead == '}') ADVANCE(13); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(6) - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(31); + if (lookahead == ',') ADVANCE(14); + if (lookahead == '-') ADVANCE(20); + if (lookahead == '.') ADVANCE(10); + if (lookahead == '0') ADVANCE(38); + if (lookahead == ';') ADVANCE(35); + if (lookahead == '@') ADVANCE(35); + if (lookahead == '[') ADVANCE(15); + if (lookahead == ']') ADVANCE(16); + if (lookahead == '}') ADVANCE(19); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(12) + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(39); if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 7: + case 13: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 8: + case 14: ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); - case 9: + case 15: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); - case 10: + case 16: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); - case 11: + case 17: ACCEPT_TOKEN(anon_sym_BANG); END_STATE(); - case 12: + case 18: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 13: + case 19: ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); - case 14: + case 20: ACCEPT_TOKEN(anon_sym_DASH); END_STATE(); - case 15: + case 21: ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '-') ADVANCE(29); + if (lookahead == '-') ADVANCE(37); END_STATE(); - case 16: + case 22: ACCEPT_TOKEN(aux_sym_branch_opcode_token1); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(16); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(22); END_STATE(); - case 17: + case 23: ACCEPT_TOKEN(aux_sym_branch_opcode_token2); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(17); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(23); END_STATE(); - case 18: + case 24: ACCEPT_TOKEN(aux_sym_branch_opcode_token3); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(18); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(24); END_STATE(); - case 19: + case 25: ACCEPT_TOKEN(aux_sym_branch_opcode_token4); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(19); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(25); END_STATE(); - case 20: + case 26: ACCEPT_TOKEN(aux_sym_branch_opcode_token5); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(20); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(26); END_STATE(); - case 21: + case 27: ACCEPT_TOKEN(aux_sym_branch_opcode_token6); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(21); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(27); END_STATE(); - case 22: + case 28: ACCEPT_TOKEN(aux_sym_branch_opcode_token7); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(22); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(28); END_STATE(); - case 23: + case 29: ACCEPT_TOKEN(aux_sym_branch_opcode_token8); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(23); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(29); END_STATE(); - case 24: + case 30: ACCEPT_TOKEN(aux_sym_branch_opcode_token9); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(24); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(30); END_STATE(); - case 25: + case 31: ACCEPT_TOKEN(anon_sym_COLON); END_STATE(); - case 26: + case 32: ACCEPT_TOKEN(sym_directive); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(26); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(32); END_STATE(); - case 27: + case 33: + ACCEPT_TOKEN(anon_sym_DQUOTE); + END_STATE(); + case 34: + ACCEPT_TOKEN(anon_sym_POUNDinclude); + END_STATE(); + case 35: ACCEPT_TOKEN(sym_comment); - if (lookahead == '\\') ADVANCE(5); + if (lookahead == '\\') ADVANCE(11); if (lookahead != 0 && - lookahead != '\n') ADVANCE(27); + lookahead != '\n') ADVANCE(35); END_STATE(); - case 28: + case 36: ACCEPT_TOKEN(sym_comment); if (lookahead != 0 && - lookahead != '\\') ADVANCE(27); - if (lookahead == '\\') ADVANCE(5); + lookahead != '\\') ADVANCE(35); + if (lookahead == '\\') ADVANCE(11); END_STATE(); - case 29: + case 37: ACCEPT_TOKEN(aux_sym_offset_statement_token1); - if (lookahead == '-') ADVANCE(29); + if (lookahead == '-') ADVANCE(37); END_STATE(); - case 30: + case 38: ACCEPT_TOKEN(sym_constant); if (lookahead == 'X' || - lookahead == 'x') ADVANCE(3); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(31); + lookahead == 'x') ADVANCE(9); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39); END_STATE(); - case 31: + case 39: ACCEPT_TOKEN(sym_constant); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(31); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39); END_STATE(); - case 32: + case 40: ACCEPT_TOKEN(sym_constant); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(32); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(40); END_STATE(); - case 33: + case 41: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'c') ADVANCE(37); - if (lookahead == 'e') ADVANCE(36); - if (lookahead == 'g') ADVANCE(38); - if (lookahead == 'h') ADVANCE(39); - if (lookahead == 'l') ADVANCE(40); - if (lookahead == 'n') ADVANCE(34); - if (lookahead == 'p') ADVANCE(35); - if (lookahead == 'x') ADVANCE(41); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(16); + if (lookahead == 'c') ADVANCE(45); + if (lookahead == 'e') ADVANCE(44); + if (lookahead == 'g') ADVANCE(46); + if (lookahead == 'h') ADVANCE(47); + if (lookahead == 'l') ADVANCE(48); + if (lookahead == 'n') ADVANCE(42); + if (lookahead == 'p') ADVANCE(43); + if (lookahead == 'x') ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(22); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 34: + case 42: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'e') ADVANCE(43); + if (lookahead == 'e') ADVANCE(51); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 35: + case 43: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'l') ADVANCE(44); + if (lookahead == 'l') ADVANCE(52); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 36: + case 44: ACCEPT_TOKEN(sym_identifier); - if (lookahead == 'q') ADVANCE(42); + if (lookahead == 'q') ADVANCE(50); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 37: + case 45: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(19); - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(37); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(25); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_') ADVANCE(45); + lookahead == '_') ADVANCE(53); END_STATE(); - case 38: + case 46: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(24); - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(38); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(30); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(46); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_') ADVANCE(45); + lookahead == '_') ADVANCE(53); END_STATE(); - case 39: + case 47: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(20); - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(39); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(26); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(47); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_') ADVANCE(45); + lookahead == '_') ADVANCE(53); END_STATE(); - case 40: + case 48: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(23); - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(40); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(29); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(48); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_') ADVANCE(45); + lookahead == '_') ADVANCE(53); END_STATE(); - case 41: + case 49: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(22); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(28); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 42: + case 50: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(17); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(23); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 43: + case 51: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(18); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(24); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 44: + case 52: ACCEPT_TOKEN(sym_identifier); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(21); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(27); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); - case 45: + case 53: ACCEPT_TOKEN(sym_identifier); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); default: return false; @@ -1160,9 +1177,7 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { if (lookahead == 's') ADVANCE(12); if (lookahead == 't') ADVANCE(13); if (lookahead == 'u') ADVANCE(14); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || + if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(0) END_STATE(); case 1: @@ -1482,7 +1497,7 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 6}, + [1] = {.lex_state = 12}, [2] = {.lex_state = 0}, [3] = {.lex_state = 0}, [4] = {.lex_state = 0}, @@ -1514,59 +1529,64 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [30] = {.lex_state = 0}, [31] = {.lex_state = 0}, [32] = {.lex_state = 0}, - [33] = {.lex_state = 6}, - [34] = {.lex_state = 6}, - [35] = {.lex_state = 6}, - [36] = {.lex_state = 6}, - [37] = {.lex_state = 6}, - [38] = {.lex_state = 0}, - [39] = {.lex_state = 6}, - [40] = {.lex_state = 0}, - [41] = {.lex_state = 0}, - [42] = {.lex_state = 6}, - [43] = {.lex_state = 6}, + [33] = {.lex_state = 12}, + [34] = {.lex_state = 12}, + [35] = {.lex_state = 12}, + [36] = {.lex_state = 12}, + [37] = {.lex_state = 12}, + [38] = {.lex_state = 12}, + [39] = {.lex_state = 12}, + [40] = {.lex_state = 12}, + [41] = {.lex_state = 12}, + [42] = {.lex_state = 0}, + [43] = {.lex_state = 12}, [44] = {.lex_state = 0}, [45] = {.lex_state = 0}, - [46] = {.lex_state = 6}, - [47] = {.lex_state = 6}, + [46] = {.lex_state = 12}, + [47] = {.lex_state = 0}, [48] = {.lex_state = 0}, - [49] = {.lex_state = 6}, + [49] = {.lex_state = 12}, [50] = {.lex_state = 0}, [51] = {.lex_state = 0}, - [52] = {.lex_state = 6}, - [53] = {.lex_state = 6}, - [54] = {.lex_state = 6}, - [55] = {.lex_state = 0}, - [56] = {.lex_state = 0}, - [57] = {.lex_state = 6}, - [58] = {.lex_state = 6}, - [59] = {.lex_state = 0}, + [52] = {.lex_state = 12}, + [53] = {.lex_state = 12}, + [54] = {.lex_state = 12}, + [55] = {.lex_state = 12}, + [56] = {.lex_state = 12}, + [57] = {.lex_state = 0}, + [58] = {.lex_state = 0}, + [59] = {.lex_state = 12}, [60] = {.lex_state = 0}, [61] = {.lex_state = 0}, [62] = {.lex_state = 0}, [63] = {.lex_state = 0}, - [64] = {.lex_state = 1}, + [64] = {.lex_state = 12}, [65] = {.lex_state = 0}, [66] = {.lex_state = 0}, [67] = {.lex_state = 0}, - [68] = {.lex_state = 6}, - [69] = {.lex_state = 0}, + [68] = {.lex_state = 0}, + [69] = {.lex_state = 1}, [70] = {.lex_state = 0}, - [71] = {.lex_state = 6}, - [72] = {.lex_state = 6}, + [71] = {.lex_state = 12}, + [72] = {.lex_state = 0}, [73] = {.lex_state = 0}, - [74] = {.lex_state = 0}, + [74] = {.lex_state = 12}, [75] = {.lex_state = 0}, - [76] = {.lex_state = 6}, + [76] = {.lex_state = 0}, [77] = {.lex_state = 0}, - [78] = {.lex_state = 6}, - [79] = {.lex_state = 6}, - [80] = {.lex_state = 0}, - [81] = {.lex_state = 6}, - [82] = {.lex_state = 6}, - [83] = {.lex_state = 6}, - [84] = {.lex_state = 0}, - [85] = {.lex_state = 0}, + [78] = {.lex_state = 0}, + [79] = {.lex_state = 0}, + [80] = {.lex_state = 12}, + [81] = {.lex_state = 0}, + [82] = {.lex_state = 0}, + [83] = {.lex_state = 12}, + [84] = {.lex_state = 12}, + [85] = {.lex_state = 12}, + [86] = {.lex_state = 12}, + [87] = {.lex_state = 0}, + [88] = {.lex_state = 12}, + [89] = {.lex_state = 0}, + [90] = {.lex_state = 12}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1624,1889 +1644,1940 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON] = ACTIONS(1), [sym_register] = ACTIONS(1), [sym_directive] = ACTIONS(1), + [anon_sym_DQUOTE] = ACTIONS(1), + [anon_sym_POUNDinclude] = ACTIONS(1), [sym_comment] = ACTIONS(3), [aux_sym_offset_statement_token1] = ACTIONS(1), [sym_constant] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(85), + [sym_source_file] = STATE(66), [aux_sym__statement] = STATE(33), [sym_function_definition] = STATE(33), [sym_label] = STATE(2), + [sym_include_statement] = STATE(33), [ts_builtin_sym_end] = ACTIONS(5), [sym_identifier] = ACTIONS(7), [sym_directive] = ACTIONS(9), + [anon_sym_POUNDinclude] = ACTIONS(11), [sym_comment] = ACTIONS(3), }, [2] = { [sym_math_statement] = STATE(3), [sym_load_statement] = STATE(3), [sym_ldm_statement] = STATE(3), - [sym_ldm_opcode] = STATE(76), - [sym_load_opcode] = STATE(81), + [sym_ldm_opcode] = STATE(83), + [sym_load_opcode] = STATE(88), [sym_pool_statement] = STATE(3), [sym_push_statement] = STATE(3), - [sym_push_opcode] = STATE(75), + [sym_push_opcode] = STATE(81), [sym_simple_statement] = STATE(3), - [sym_opcode] = STATE(71), - [sym_return_statement] = STATE(49), + [sym_opcode] = STATE(80), + [sym_return_statement] = STATE(40), [sym_branch_statement] = STATE(3), - [sym_branch_opcode] = STATE(54), + [sym_branch_opcode] = STATE(55), [sym_label] = STATE(6), [aux_sym_function_definition_repeat1] = STATE(3), - [sym_identifier] = ACTIONS(11), - [aux_sym_ldm_opcode_token1] = ACTIONS(13), - [aux_sym_ldm_opcode_token2] = ACTIONS(13), - [aux_sym_load_opcode_token1] = ACTIONS(15), - [aux_sym_load_opcode_token2] = ACTIONS(15), - [sym_adr_opcode] = ACTIONS(17), - [aux_sym_push_opcode_token1] = ACTIONS(19), - [aux_sym_push_opcode_token2] = ACTIONS(19), - [aux_sym_opcode_token1] = ACTIONS(21), - [aux_sym_opcode_token2] = ACTIONS(21), - [aux_sym_opcode_token3] = ACTIONS(21), - [aux_sym_opcode_token4] = ACTIONS(21), - [aux_sym_opcode_token5] = ACTIONS(21), - [aux_sym_opcode_token6] = ACTIONS(21), - [aux_sym_opcode_token7] = ACTIONS(21), - [aux_sym_opcode_token8] = ACTIONS(21), - [aux_sym_opcode_token9] = ACTIONS(21), - [aux_sym_opcode_token10] = ACTIONS(21), - [aux_sym_opcode_token11] = ACTIONS(21), - [aux_sym_opcode_token12] = ACTIONS(21), - [aux_sym_opcode_token13] = ACTIONS(21), - [aux_sym_opcode_token14] = ACTIONS(21), - [aux_sym_opcode_token15] = ACTIONS(21), - [aux_sym_opcode_token16] = ACTIONS(21), - [aux_sym_opcode_token17] = ACTIONS(21), - [aux_sym_opcode_token18] = ACTIONS(21), - [aux_sym_opcode_token19] = ACTIONS(21), - [aux_sym_opcode_token20] = ACTIONS(21), - [aux_sym_opcode_token21] = ACTIONS(21), - [aux_sym_opcode_token22] = ACTIONS(21), - [aux_sym_opcode_token23] = ACTIONS(21), - [aux_sym_opcode_token24] = ACTIONS(21), - [aux_sym_opcode_token25] = ACTIONS(21), - [aux_sym_branch_opcode_token1] = ACTIONS(23), - [aux_sym_branch_opcode_token2] = ACTIONS(23), - [aux_sym_branch_opcode_token3] = ACTIONS(23), - [aux_sym_branch_opcode_token4] = ACTIONS(23), - [aux_sym_branch_opcode_token5] = ACTIONS(23), - [aux_sym_branch_opcode_token6] = ACTIONS(23), - [aux_sym_branch_opcode_token7] = ACTIONS(23), - [aux_sym_branch_opcode_token8] = ACTIONS(23), - [aux_sym_branch_opcode_token9] = ACTIONS(23), + [sym_identifier] = ACTIONS(13), + [aux_sym_ldm_opcode_token1] = ACTIONS(15), + [aux_sym_ldm_opcode_token2] = ACTIONS(15), + [aux_sym_load_opcode_token1] = ACTIONS(17), + [aux_sym_load_opcode_token2] = ACTIONS(17), + [sym_adr_opcode] = ACTIONS(19), + [aux_sym_push_opcode_token1] = ACTIONS(21), + [aux_sym_push_opcode_token2] = ACTIONS(21), + [aux_sym_opcode_token1] = ACTIONS(23), + [aux_sym_opcode_token2] = ACTIONS(23), + [aux_sym_opcode_token3] = ACTIONS(23), + [aux_sym_opcode_token4] = ACTIONS(23), + [aux_sym_opcode_token5] = ACTIONS(23), + [aux_sym_opcode_token6] = ACTIONS(23), + [aux_sym_opcode_token7] = ACTIONS(23), + [aux_sym_opcode_token8] = ACTIONS(23), + [aux_sym_opcode_token9] = ACTIONS(23), + [aux_sym_opcode_token10] = ACTIONS(23), + [aux_sym_opcode_token11] = ACTIONS(23), + [aux_sym_opcode_token12] = ACTIONS(23), + [aux_sym_opcode_token13] = ACTIONS(23), + [aux_sym_opcode_token14] = ACTIONS(23), + [aux_sym_opcode_token15] = ACTIONS(23), + [aux_sym_opcode_token16] = ACTIONS(23), + [aux_sym_opcode_token17] = ACTIONS(23), + [aux_sym_opcode_token18] = ACTIONS(23), + [aux_sym_opcode_token19] = ACTIONS(23), + [aux_sym_opcode_token20] = ACTIONS(23), + [aux_sym_opcode_token21] = ACTIONS(23), + [aux_sym_opcode_token22] = ACTIONS(23), + [aux_sym_opcode_token23] = ACTIONS(23), + [aux_sym_opcode_token24] = ACTIONS(23), + [aux_sym_opcode_token25] = ACTIONS(23), + [aux_sym_branch_opcode_token1] = ACTIONS(25), + [aux_sym_branch_opcode_token2] = ACTIONS(25), + [aux_sym_branch_opcode_token3] = ACTIONS(25), + [aux_sym_branch_opcode_token4] = ACTIONS(25), + [aux_sym_branch_opcode_token5] = ACTIONS(25), + [aux_sym_branch_opcode_token6] = ACTIONS(25), + [aux_sym_branch_opcode_token7] = ACTIONS(25), + [aux_sym_branch_opcode_token8] = ACTIONS(25), + [aux_sym_branch_opcode_token9] = ACTIONS(25), [sym_comment] = ACTIONS(3), }, [3] = { [sym_math_statement] = STATE(4), [sym_load_statement] = STATE(4), [sym_ldm_statement] = STATE(4), - [sym_ldm_opcode] = STATE(76), - [sym_load_opcode] = STATE(81), + [sym_ldm_opcode] = STATE(83), + [sym_load_opcode] = STATE(88), [sym_pool_statement] = STATE(4), [sym_push_statement] = STATE(4), - [sym_push_opcode] = STATE(75), + [sym_push_opcode] = STATE(81), [sym_simple_statement] = STATE(4), - [sym_opcode] = STATE(71), - [sym_return_statement] = STATE(42), + [sym_opcode] = STATE(80), + [sym_return_statement] = STATE(37), [sym_branch_statement] = STATE(4), - [sym_branch_opcode] = STATE(54), + [sym_branch_opcode] = STATE(55), [sym_label] = STATE(6), [aux_sym_function_definition_repeat1] = STATE(4), - [sym_identifier] = ACTIONS(11), - [aux_sym_ldm_opcode_token1] = ACTIONS(13), - [aux_sym_ldm_opcode_token2] = ACTIONS(13), - [aux_sym_load_opcode_token1] = ACTIONS(15), - [aux_sym_load_opcode_token2] = ACTIONS(15), - [sym_adr_opcode] = ACTIONS(17), - [aux_sym_push_opcode_token1] = ACTIONS(19), - [aux_sym_push_opcode_token2] = ACTIONS(19), - [aux_sym_opcode_token1] = ACTIONS(21), - [aux_sym_opcode_token2] = ACTIONS(21), - [aux_sym_opcode_token3] = ACTIONS(21), - [aux_sym_opcode_token4] = ACTIONS(21), - [aux_sym_opcode_token5] = ACTIONS(21), - [aux_sym_opcode_token6] = ACTIONS(21), - [aux_sym_opcode_token7] = ACTIONS(21), - [aux_sym_opcode_token8] = ACTIONS(21), - [aux_sym_opcode_token9] = ACTIONS(21), - [aux_sym_opcode_token10] = ACTIONS(21), - [aux_sym_opcode_token11] = ACTIONS(21), - [aux_sym_opcode_token12] = ACTIONS(21), - [aux_sym_opcode_token13] = ACTIONS(21), - [aux_sym_opcode_token14] = ACTIONS(21), - [aux_sym_opcode_token15] = ACTIONS(21), - [aux_sym_opcode_token16] = ACTIONS(21), - [aux_sym_opcode_token17] = ACTIONS(21), - [aux_sym_opcode_token18] = ACTIONS(21), - [aux_sym_opcode_token19] = ACTIONS(21), - [aux_sym_opcode_token20] = ACTIONS(21), - [aux_sym_opcode_token21] = ACTIONS(21), - [aux_sym_opcode_token22] = ACTIONS(21), - [aux_sym_opcode_token23] = ACTIONS(21), - [aux_sym_opcode_token24] = ACTIONS(21), - [aux_sym_opcode_token25] = ACTIONS(21), - [aux_sym_branch_opcode_token1] = ACTIONS(23), - [aux_sym_branch_opcode_token2] = ACTIONS(23), - [aux_sym_branch_opcode_token3] = ACTIONS(23), - [aux_sym_branch_opcode_token4] = ACTIONS(23), - [aux_sym_branch_opcode_token5] = ACTIONS(23), - [aux_sym_branch_opcode_token6] = ACTIONS(23), - [aux_sym_branch_opcode_token7] = ACTIONS(23), - [aux_sym_branch_opcode_token8] = ACTIONS(23), - [aux_sym_branch_opcode_token9] = ACTIONS(23), + [sym_identifier] = ACTIONS(13), + [aux_sym_ldm_opcode_token1] = ACTIONS(15), + [aux_sym_ldm_opcode_token2] = ACTIONS(15), + [aux_sym_load_opcode_token1] = ACTIONS(17), + [aux_sym_load_opcode_token2] = ACTIONS(17), + [sym_adr_opcode] = ACTIONS(19), + [aux_sym_push_opcode_token1] = ACTIONS(21), + [aux_sym_push_opcode_token2] = ACTIONS(21), + [aux_sym_opcode_token1] = ACTIONS(23), + [aux_sym_opcode_token2] = ACTIONS(23), + [aux_sym_opcode_token3] = ACTIONS(23), + [aux_sym_opcode_token4] = ACTIONS(23), + [aux_sym_opcode_token5] = ACTIONS(23), + [aux_sym_opcode_token6] = ACTIONS(23), + [aux_sym_opcode_token7] = ACTIONS(23), + [aux_sym_opcode_token8] = ACTIONS(23), + [aux_sym_opcode_token9] = ACTIONS(23), + [aux_sym_opcode_token10] = ACTIONS(23), + [aux_sym_opcode_token11] = ACTIONS(23), + [aux_sym_opcode_token12] = ACTIONS(23), + [aux_sym_opcode_token13] = ACTIONS(23), + [aux_sym_opcode_token14] = ACTIONS(23), + [aux_sym_opcode_token15] = ACTIONS(23), + [aux_sym_opcode_token16] = ACTIONS(23), + [aux_sym_opcode_token17] = ACTIONS(23), + [aux_sym_opcode_token18] = ACTIONS(23), + [aux_sym_opcode_token19] = ACTIONS(23), + [aux_sym_opcode_token20] = ACTIONS(23), + [aux_sym_opcode_token21] = ACTIONS(23), + [aux_sym_opcode_token22] = ACTIONS(23), + [aux_sym_opcode_token23] = ACTIONS(23), + [aux_sym_opcode_token24] = ACTIONS(23), + [aux_sym_opcode_token25] = ACTIONS(23), + [aux_sym_branch_opcode_token1] = ACTIONS(25), + [aux_sym_branch_opcode_token2] = ACTIONS(25), + [aux_sym_branch_opcode_token3] = ACTIONS(25), + [aux_sym_branch_opcode_token4] = ACTIONS(25), + [aux_sym_branch_opcode_token5] = ACTIONS(25), + [aux_sym_branch_opcode_token6] = ACTIONS(25), + [aux_sym_branch_opcode_token7] = ACTIONS(25), + [aux_sym_branch_opcode_token8] = ACTIONS(25), + [aux_sym_branch_opcode_token9] = ACTIONS(25), [sym_comment] = ACTIONS(3), }, [4] = { [sym_math_statement] = STATE(4), [sym_load_statement] = STATE(4), [sym_ldm_statement] = STATE(4), - [sym_ldm_opcode] = STATE(76), - [sym_load_opcode] = STATE(81), + [sym_ldm_opcode] = STATE(83), + [sym_load_opcode] = STATE(88), [sym_pool_statement] = STATE(4), [sym_push_statement] = STATE(4), - [sym_push_opcode] = STATE(75), + [sym_push_opcode] = STATE(81), [sym_simple_statement] = STATE(4), - [sym_opcode] = STATE(71), + [sym_opcode] = STATE(80), [sym_branch_statement] = STATE(4), - [sym_branch_opcode] = STATE(72), + [sym_branch_opcode] = STATE(85), [sym_label] = STATE(6), [aux_sym_function_definition_repeat1] = STATE(4), - [sym_identifier] = ACTIONS(25), - [aux_sym_ldm_opcode_token1] = ACTIONS(28), - [aux_sym_ldm_opcode_token2] = ACTIONS(28), - [aux_sym_load_opcode_token1] = ACTIONS(31), - [aux_sym_load_opcode_token2] = ACTIONS(31), - [sym_adr_opcode] = ACTIONS(34), - [aux_sym_push_opcode_token1] = ACTIONS(37), - [aux_sym_push_opcode_token2] = ACTIONS(37), - [aux_sym_opcode_token1] = ACTIONS(40), - [aux_sym_opcode_token2] = ACTIONS(40), - [aux_sym_opcode_token3] = ACTIONS(40), - [aux_sym_opcode_token4] = ACTIONS(40), - [aux_sym_opcode_token5] = ACTIONS(40), - [aux_sym_opcode_token6] = ACTIONS(40), - [aux_sym_opcode_token7] = ACTIONS(40), - [aux_sym_opcode_token8] = ACTIONS(40), - [aux_sym_opcode_token9] = ACTIONS(40), - [aux_sym_opcode_token10] = ACTIONS(40), - [aux_sym_opcode_token11] = ACTIONS(40), - [aux_sym_opcode_token12] = ACTIONS(40), - [aux_sym_opcode_token13] = ACTIONS(40), - [aux_sym_opcode_token14] = ACTIONS(40), - [aux_sym_opcode_token15] = ACTIONS(40), - [aux_sym_opcode_token16] = ACTIONS(40), - [aux_sym_opcode_token17] = ACTIONS(40), - [aux_sym_opcode_token18] = ACTIONS(40), - [aux_sym_opcode_token19] = ACTIONS(40), - [aux_sym_opcode_token20] = ACTIONS(40), - [aux_sym_opcode_token21] = ACTIONS(40), - [aux_sym_opcode_token22] = ACTIONS(40), - [aux_sym_opcode_token23] = ACTIONS(40), - [aux_sym_opcode_token24] = ACTIONS(40), - [aux_sym_opcode_token25] = ACTIONS(40), - [aux_sym_branch_opcode_token1] = ACTIONS(43), - [aux_sym_branch_opcode_token2] = ACTIONS(43), - [aux_sym_branch_opcode_token3] = ACTIONS(43), - [aux_sym_branch_opcode_token4] = ACTIONS(43), - [aux_sym_branch_opcode_token5] = ACTIONS(43), - [aux_sym_branch_opcode_token6] = ACTIONS(43), - [aux_sym_branch_opcode_token7] = ACTIONS(43), - [aux_sym_branch_opcode_token8] = ACTIONS(43), - [aux_sym_branch_opcode_token9] = ACTIONS(43), + [sym_identifier] = ACTIONS(27), + [aux_sym_ldm_opcode_token1] = ACTIONS(30), + [aux_sym_ldm_opcode_token2] = ACTIONS(30), + [aux_sym_load_opcode_token1] = ACTIONS(33), + [aux_sym_load_opcode_token2] = ACTIONS(33), + [sym_adr_opcode] = ACTIONS(36), + [aux_sym_push_opcode_token1] = ACTIONS(39), + [aux_sym_push_opcode_token2] = ACTIONS(39), + [aux_sym_opcode_token1] = ACTIONS(42), + [aux_sym_opcode_token2] = ACTIONS(42), + [aux_sym_opcode_token3] = ACTIONS(42), + [aux_sym_opcode_token4] = ACTIONS(42), + [aux_sym_opcode_token5] = ACTIONS(42), + [aux_sym_opcode_token6] = ACTIONS(42), + [aux_sym_opcode_token7] = ACTIONS(42), + [aux_sym_opcode_token8] = ACTIONS(42), + [aux_sym_opcode_token9] = ACTIONS(42), + [aux_sym_opcode_token10] = ACTIONS(42), + [aux_sym_opcode_token11] = ACTIONS(42), + [aux_sym_opcode_token12] = ACTIONS(42), + [aux_sym_opcode_token13] = ACTIONS(42), + [aux_sym_opcode_token14] = ACTIONS(42), + [aux_sym_opcode_token15] = ACTIONS(42), + [aux_sym_opcode_token16] = ACTIONS(42), + [aux_sym_opcode_token17] = ACTIONS(42), + [aux_sym_opcode_token18] = ACTIONS(42), + [aux_sym_opcode_token19] = ACTIONS(42), + [aux_sym_opcode_token20] = ACTIONS(42), + [aux_sym_opcode_token21] = ACTIONS(42), + [aux_sym_opcode_token22] = ACTIONS(42), + [aux_sym_opcode_token23] = ACTIONS(42), + [aux_sym_opcode_token24] = ACTIONS(42), + [aux_sym_opcode_token25] = ACTIONS(42), + [aux_sym_branch_opcode_token1] = ACTIONS(45), + [aux_sym_branch_opcode_token2] = ACTIONS(45), + [aux_sym_branch_opcode_token3] = ACTIONS(45), + [aux_sym_branch_opcode_token4] = ACTIONS(45), + [aux_sym_branch_opcode_token5] = ACTIONS(45), + [aux_sym_branch_opcode_token6] = ACTIONS(45), + [aux_sym_branch_opcode_token7] = ACTIONS(45), + [aux_sym_branch_opcode_token8] = ACTIONS(45), + [aux_sym_branch_opcode_token9] = ACTIONS(45), [sym_comment] = ACTIONS(3), }, [5] = { - [sym_identifier] = ACTIONS(46), - [anon_sym_COMMA] = ACTIONS(48), - [aux_sym_ldm_opcode_token1] = ACTIONS(46), - [aux_sym_ldm_opcode_token2] = ACTIONS(46), - [aux_sym_load_opcode_token1] = ACTIONS(46), - [aux_sym_load_opcode_token2] = ACTIONS(46), - [sym_adr_opcode] = ACTIONS(46), - [aux_sym_push_opcode_token1] = ACTIONS(46), - [aux_sym_push_opcode_token2] = ACTIONS(46), - [aux_sym_opcode_token1] = ACTIONS(46), - [aux_sym_opcode_token2] = ACTIONS(46), - [aux_sym_opcode_token3] = ACTIONS(46), - [aux_sym_opcode_token4] = ACTIONS(46), - [aux_sym_opcode_token5] = ACTIONS(46), - [aux_sym_opcode_token6] = ACTIONS(46), - [aux_sym_opcode_token7] = ACTIONS(46), - [aux_sym_opcode_token8] = ACTIONS(46), - [aux_sym_opcode_token9] = ACTIONS(46), - [aux_sym_opcode_token10] = ACTIONS(46), - [aux_sym_opcode_token11] = ACTIONS(46), - [aux_sym_opcode_token12] = ACTIONS(46), - [aux_sym_opcode_token13] = ACTIONS(46), - [aux_sym_opcode_token14] = ACTIONS(46), - [aux_sym_opcode_token15] = ACTIONS(46), - [aux_sym_opcode_token16] = ACTIONS(46), - [aux_sym_opcode_token17] = ACTIONS(46), - [aux_sym_opcode_token18] = ACTIONS(46), - [aux_sym_opcode_token19] = ACTIONS(46), - [aux_sym_opcode_token20] = ACTIONS(46), - [aux_sym_opcode_token21] = ACTIONS(46), - [aux_sym_opcode_token22] = ACTIONS(46), - [aux_sym_opcode_token23] = ACTIONS(46), - [aux_sym_opcode_token24] = ACTIONS(46), - [aux_sym_opcode_token25] = ACTIONS(46), - [aux_sym_branch_opcode_token1] = ACTIONS(50), - [aux_sym_branch_opcode_token2] = ACTIONS(50), - [aux_sym_branch_opcode_token3] = ACTIONS(50), - [aux_sym_branch_opcode_token4] = ACTIONS(50), - [aux_sym_branch_opcode_token5] = ACTIONS(50), - [aux_sym_branch_opcode_token6] = ACTIONS(50), - [aux_sym_branch_opcode_token7] = ACTIONS(50), - [aux_sym_branch_opcode_token8] = ACTIONS(50), - [aux_sym_branch_opcode_token9] = ACTIONS(50), - [sym_register] = ACTIONS(52), + [sym_identifier] = ACTIONS(48), + [anon_sym_COMMA] = ACTIONS(50), + [aux_sym_ldm_opcode_token1] = ACTIONS(48), + [aux_sym_ldm_opcode_token2] = ACTIONS(48), + [aux_sym_load_opcode_token1] = ACTIONS(48), + [aux_sym_load_opcode_token2] = ACTIONS(48), + [sym_adr_opcode] = ACTIONS(48), + [aux_sym_push_opcode_token1] = ACTIONS(48), + [aux_sym_push_opcode_token2] = ACTIONS(48), + [aux_sym_opcode_token1] = ACTIONS(48), + [aux_sym_opcode_token2] = ACTIONS(48), + [aux_sym_opcode_token3] = ACTIONS(48), + [aux_sym_opcode_token4] = ACTIONS(48), + [aux_sym_opcode_token5] = ACTIONS(48), + [aux_sym_opcode_token6] = ACTIONS(48), + [aux_sym_opcode_token7] = ACTIONS(48), + [aux_sym_opcode_token8] = ACTIONS(48), + [aux_sym_opcode_token9] = ACTIONS(48), + [aux_sym_opcode_token10] = ACTIONS(48), + [aux_sym_opcode_token11] = ACTIONS(48), + [aux_sym_opcode_token12] = ACTIONS(48), + [aux_sym_opcode_token13] = ACTIONS(48), + [aux_sym_opcode_token14] = ACTIONS(48), + [aux_sym_opcode_token15] = ACTIONS(48), + [aux_sym_opcode_token16] = ACTIONS(48), + [aux_sym_opcode_token17] = ACTIONS(48), + [aux_sym_opcode_token18] = ACTIONS(48), + [aux_sym_opcode_token19] = ACTIONS(48), + [aux_sym_opcode_token20] = ACTIONS(48), + [aux_sym_opcode_token21] = ACTIONS(48), + [aux_sym_opcode_token22] = ACTIONS(48), + [aux_sym_opcode_token23] = ACTIONS(48), + [aux_sym_opcode_token24] = ACTIONS(48), + [aux_sym_opcode_token25] = ACTIONS(48), + [aux_sym_branch_opcode_token1] = ACTIONS(52), + [aux_sym_branch_opcode_token2] = ACTIONS(52), + [aux_sym_branch_opcode_token3] = ACTIONS(52), + [aux_sym_branch_opcode_token4] = ACTIONS(52), + [aux_sym_branch_opcode_token5] = ACTIONS(52), + [aux_sym_branch_opcode_token6] = ACTIONS(52), + [aux_sym_branch_opcode_token7] = ACTIONS(52), + [aux_sym_branch_opcode_token8] = ACTIONS(52), + [aux_sym_branch_opcode_token9] = ACTIONS(52), + [sym_register] = ACTIONS(54), [sym_comment] = ACTIONS(3), - [sym_constant] = ACTIONS(54), + [sym_constant] = ACTIONS(56), }, [6] = { - [sym_directive_statement] = STATE(28), - [sym_identifier] = ACTIONS(56), - [aux_sym_ldm_opcode_token1] = ACTIONS(56), - [aux_sym_ldm_opcode_token2] = ACTIONS(56), - [aux_sym_load_opcode_token1] = ACTIONS(56), - [aux_sym_load_opcode_token2] = ACTIONS(56), - [sym_adr_opcode] = ACTIONS(56), - [aux_sym_push_opcode_token1] = ACTIONS(56), - [aux_sym_push_opcode_token2] = ACTIONS(56), - [aux_sym_opcode_token1] = ACTIONS(56), - [aux_sym_opcode_token2] = ACTIONS(56), - [aux_sym_opcode_token3] = ACTIONS(56), - [aux_sym_opcode_token4] = ACTIONS(56), - [aux_sym_opcode_token5] = ACTIONS(56), - [aux_sym_opcode_token6] = ACTIONS(56), - [aux_sym_opcode_token7] = ACTIONS(56), - [aux_sym_opcode_token8] = ACTIONS(56), - [aux_sym_opcode_token9] = ACTIONS(56), - [aux_sym_opcode_token10] = ACTIONS(56), - [aux_sym_opcode_token11] = ACTIONS(56), - [aux_sym_opcode_token12] = ACTIONS(56), - [aux_sym_opcode_token13] = ACTIONS(56), - [aux_sym_opcode_token14] = ACTIONS(56), - [aux_sym_opcode_token15] = ACTIONS(56), - [aux_sym_opcode_token16] = ACTIONS(56), - [aux_sym_opcode_token17] = ACTIONS(56), - [aux_sym_opcode_token18] = ACTIONS(56), - [aux_sym_opcode_token19] = ACTIONS(56), - [aux_sym_opcode_token20] = ACTIONS(56), - [aux_sym_opcode_token21] = ACTIONS(56), - [aux_sym_opcode_token22] = ACTIONS(56), - [aux_sym_opcode_token23] = ACTIONS(56), - [aux_sym_opcode_token24] = ACTIONS(56), - [aux_sym_opcode_token25] = ACTIONS(56), - [aux_sym_branch_opcode_token1] = ACTIONS(58), - [aux_sym_branch_opcode_token2] = ACTIONS(58), - [aux_sym_branch_opcode_token3] = ACTIONS(58), - [aux_sym_branch_opcode_token4] = ACTIONS(58), - [aux_sym_branch_opcode_token5] = ACTIONS(58), - [aux_sym_branch_opcode_token6] = ACTIONS(58), - [aux_sym_branch_opcode_token7] = ACTIONS(58), - [aux_sym_branch_opcode_token8] = ACTIONS(58), - [aux_sym_branch_opcode_token9] = ACTIONS(58), - [sym_directive] = ACTIONS(60), + [sym_directive_statement] = STATE(32), + [sym_identifier] = ACTIONS(58), + [aux_sym_ldm_opcode_token1] = ACTIONS(58), + [aux_sym_ldm_opcode_token2] = ACTIONS(58), + [aux_sym_load_opcode_token1] = ACTIONS(58), + [aux_sym_load_opcode_token2] = ACTIONS(58), + [sym_adr_opcode] = ACTIONS(58), + [aux_sym_push_opcode_token1] = ACTIONS(58), + [aux_sym_push_opcode_token2] = ACTIONS(58), + [aux_sym_opcode_token1] = ACTIONS(58), + [aux_sym_opcode_token2] = ACTIONS(58), + [aux_sym_opcode_token3] = ACTIONS(58), + [aux_sym_opcode_token4] = ACTIONS(58), + [aux_sym_opcode_token5] = ACTIONS(58), + [aux_sym_opcode_token6] = ACTIONS(58), + [aux_sym_opcode_token7] = ACTIONS(58), + [aux_sym_opcode_token8] = ACTIONS(58), + [aux_sym_opcode_token9] = ACTIONS(58), + [aux_sym_opcode_token10] = ACTIONS(58), + [aux_sym_opcode_token11] = ACTIONS(58), + [aux_sym_opcode_token12] = ACTIONS(58), + [aux_sym_opcode_token13] = ACTIONS(58), + [aux_sym_opcode_token14] = ACTIONS(58), + [aux_sym_opcode_token15] = ACTIONS(58), + [aux_sym_opcode_token16] = ACTIONS(58), + [aux_sym_opcode_token17] = ACTIONS(58), + [aux_sym_opcode_token18] = ACTIONS(58), + [aux_sym_opcode_token19] = ACTIONS(58), + [aux_sym_opcode_token20] = ACTIONS(58), + [aux_sym_opcode_token21] = ACTIONS(58), + [aux_sym_opcode_token22] = ACTIONS(58), + [aux_sym_opcode_token23] = ACTIONS(58), + [aux_sym_opcode_token24] = ACTIONS(58), + [aux_sym_opcode_token25] = ACTIONS(58), + [aux_sym_branch_opcode_token1] = ACTIONS(60), + [aux_sym_branch_opcode_token2] = ACTIONS(60), + [aux_sym_branch_opcode_token3] = ACTIONS(60), + [aux_sym_branch_opcode_token4] = ACTIONS(60), + [aux_sym_branch_opcode_token5] = ACTIONS(60), + [aux_sym_branch_opcode_token6] = ACTIONS(60), + [aux_sym_branch_opcode_token7] = ACTIONS(60), + [aux_sym_branch_opcode_token8] = ACTIONS(60), + [aux_sym_branch_opcode_token9] = ACTIONS(60), + [sym_directive] = ACTIONS(62), [sym_comment] = ACTIONS(3), }, [7] = { - [sym_identifier] = ACTIONS(62), - [aux_sym_ldm_opcode_token1] = ACTIONS(62), - [aux_sym_ldm_opcode_token2] = ACTIONS(62), - [aux_sym_load_opcode_token1] = ACTIONS(62), - [aux_sym_load_opcode_token2] = ACTIONS(62), - [sym_adr_opcode] = ACTIONS(62), - [aux_sym_push_opcode_token1] = ACTIONS(62), - [aux_sym_push_opcode_token2] = ACTIONS(62), - [aux_sym_opcode_token1] = ACTIONS(62), - [aux_sym_opcode_token2] = ACTIONS(62), - [aux_sym_opcode_token3] = ACTIONS(62), - [aux_sym_opcode_token4] = ACTIONS(62), - [aux_sym_opcode_token5] = ACTIONS(62), - [aux_sym_opcode_token6] = ACTIONS(62), - [aux_sym_opcode_token7] = ACTIONS(62), - [aux_sym_opcode_token8] = ACTIONS(62), - [aux_sym_opcode_token9] = ACTIONS(62), - [aux_sym_opcode_token10] = ACTIONS(62), - [aux_sym_opcode_token11] = ACTIONS(62), - [aux_sym_opcode_token12] = ACTIONS(62), - [aux_sym_opcode_token13] = ACTIONS(62), - [aux_sym_opcode_token14] = ACTIONS(62), - [aux_sym_opcode_token15] = ACTIONS(62), - [aux_sym_opcode_token16] = ACTIONS(62), - [aux_sym_opcode_token17] = ACTIONS(62), - [aux_sym_opcode_token18] = ACTIONS(62), - [aux_sym_opcode_token19] = ACTIONS(62), - [aux_sym_opcode_token20] = ACTIONS(62), - [aux_sym_opcode_token21] = ACTIONS(62), - [aux_sym_opcode_token22] = ACTIONS(62), - [aux_sym_opcode_token23] = ACTIONS(62), - [aux_sym_opcode_token24] = ACTIONS(62), - [aux_sym_opcode_token25] = ACTIONS(62), - [aux_sym_branch_opcode_token1] = ACTIONS(64), - [aux_sym_branch_opcode_token2] = ACTIONS(64), - [aux_sym_branch_opcode_token3] = ACTIONS(64), - [aux_sym_branch_opcode_token4] = ACTIONS(64), - [aux_sym_branch_opcode_token5] = ACTIONS(64), - [aux_sym_branch_opcode_token6] = ACTIONS(64), - [aux_sym_branch_opcode_token7] = ACTIONS(64), - [aux_sym_branch_opcode_token8] = ACTIONS(64), - [aux_sym_branch_opcode_token9] = ACTIONS(64), - [sym_register] = ACTIONS(66), + [sym_identifier] = ACTIONS(64), + [aux_sym_ldm_opcode_token1] = ACTIONS(64), + [aux_sym_ldm_opcode_token2] = ACTIONS(64), + [aux_sym_load_opcode_token1] = ACTIONS(64), + [aux_sym_load_opcode_token2] = ACTIONS(64), + [sym_adr_opcode] = ACTIONS(64), + [aux_sym_push_opcode_token1] = ACTIONS(64), + [aux_sym_push_opcode_token2] = ACTIONS(64), + [aux_sym_opcode_token1] = ACTIONS(64), + [aux_sym_opcode_token2] = ACTIONS(64), + [aux_sym_opcode_token3] = ACTIONS(64), + [aux_sym_opcode_token4] = ACTIONS(64), + [aux_sym_opcode_token5] = ACTIONS(64), + [aux_sym_opcode_token6] = ACTIONS(64), + [aux_sym_opcode_token7] = ACTIONS(64), + [aux_sym_opcode_token8] = ACTIONS(64), + [aux_sym_opcode_token9] = ACTIONS(64), + [aux_sym_opcode_token10] = ACTIONS(64), + [aux_sym_opcode_token11] = ACTIONS(64), + [aux_sym_opcode_token12] = ACTIONS(64), + [aux_sym_opcode_token13] = ACTIONS(64), + [aux_sym_opcode_token14] = ACTIONS(64), + [aux_sym_opcode_token15] = ACTIONS(64), + [aux_sym_opcode_token16] = ACTIONS(64), + [aux_sym_opcode_token17] = ACTIONS(64), + [aux_sym_opcode_token18] = ACTIONS(64), + [aux_sym_opcode_token19] = ACTIONS(64), + [aux_sym_opcode_token20] = ACTIONS(64), + [aux_sym_opcode_token21] = ACTIONS(64), + [aux_sym_opcode_token22] = ACTIONS(64), + [aux_sym_opcode_token23] = ACTIONS(64), + [aux_sym_opcode_token24] = ACTIONS(64), + [aux_sym_opcode_token25] = ACTIONS(64), + [aux_sym_branch_opcode_token1] = ACTIONS(66), + [aux_sym_branch_opcode_token2] = ACTIONS(66), + [aux_sym_branch_opcode_token3] = ACTIONS(66), + [aux_sym_branch_opcode_token4] = ACTIONS(66), + [aux_sym_branch_opcode_token5] = ACTIONS(66), + [aux_sym_branch_opcode_token6] = ACTIONS(66), + [aux_sym_branch_opcode_token7] = ACTIONS(66), + [aux_sym_branch_opcode_token8] = ACTIONS(66), + [aux_sym_branch_opcode_token9] = ACTIONS(66), + [sym_register] = ACTIONS(68), [sym_comment] = ACTIONS(3), - [sym_constant] = ACTIONS(68), + [sym_constant] = ACTIONS(70), }, [8] = { - [sym_identifier] = ACTIONS(70), - [aux_sym_ldm_opcode_token1] = ACTIONS(70), - [aux_sym_ldm_opcode_token2] = ACTIONS(70), - [aux_sym_load_opcode_token1] = ACTIONS(70), - [aux_sym_load_opcode_token2] = ACTIONS(70), - [sym_adr_opcode] = ACTIONS(70), - [aux_sym_push_opcode_token1] = ACTIONS(70), - [aux_sym_push_opcode_token2] = ACTIONS(70), - [aux_sym_opcode_token1] = ACTIONS(70), - [aux_sym_opcode_token2] = ACTIONS(70), - [aux_sym_opcode_token3] = ACTIONS(70), - [aux_sym_opcode_token4] = ACTIONS(70), - [aux_sym_opcode_token5] = ACTIONS(70), - [aux_sym_opcode_token6] = ACTIONS(70), - [aux_sym_opcode_token7] = ACTIONS(70), - [aux_sym_opcode_token8] = ACTIONS(70), - [aux_sym_opcode_token9] = ACTIONS(70), - [aux_sym_opcode_token10] = ACTIONS(70), - [aux_sym_opcode_token11] = ACTIONS(70), - [aux_sym_opcode_token12] = ACTIONS(70), - [aux_sym_opcode_token13] = ACTIONS(70), - [aux_sym_opcode_token14] = ACTIONS(70), - [aux_sym_opcode_token15] = ACTIONS(70), - [aux_sym_opcode_token16] = ACTIONS(70), - [aux_sym_opcode_token17] = ACTIONS(70), - [aux_sym_opcode_token18] = ACTIONS(70), - [aux_sym_opcode_token19] = ACTIONS(70), - [aux_sym_opcode_token20] = ACTIONS(70), - [aux_sym_opcode_token21] = ACTIONS(70), - [aux_sym_opcode_token22] = ACTIONS(70), - [aux_sym_opcode_token23] = ACTIONS(70), - [aux_sym_opcode_token24] = ACTIONS(70), - [aux_sym_opcode_token25] = ACTIONS(70), - [aux_sym_branch_opcode_token1] = ACTIONS(72), - [aux_sym_branch_opcode_token2] = ACTIONS(72), - [aux_sym_branch_opcode_token3] = ACTIONS(72), - [aux_sym_branch_opcode_token4] = ACTIONS(72), - [aux_sym_branch_opcode_token5] = ACTIONS(72), - [aux_sym_branch_opcode_token6] = ACTIONS(72), - [aux_sym_branch_opcode_token7] = ACTIONS(72), - [aux_sym_branch_opcode_token8] = ACTIONS(72), - [aux_sym_branch_opcode_token9] = ACTIONS(72), - [sym_directive] = ACTIONS(72), + [sym_identifier] = ACTIONS(72), + [anon_sym_COMMA] = ACTIONS(74), + [aux_sym_ldm_opcode_token1] = ACTIONS(72), + [aux_sym_ldm_opcode_token2] = ACTIONS(72), + [aux_sym_load_opcode_token1] = ACTIONS(72), + [aux_sym_load_opcode_token2] = ACTIONS(72), + [sym_adr_opcode] = ACTIONS(72), + [aux_sym_push_opcode_token1] = ACTIONS(72), + [aux_sym_push_opcode_token2] = ACTIONS(72), + [aux_sym_opcode_token1] = ACTIONS(72), + [aux_sym_opcode_token2] = ACTIONS(72), + [aux_sym_opcode_token3] = ACTIONS(72), + [aux_sym_opcode_token4] = ACTIONS(72), + [aux_sym_opcode_token5] = ACTIONS(72), + [aux_sym_opcode_token6] = ACTIONS(72), + [aux_sym_opcode_token7] = ACTIONS(72), + [aux_sym_opcode_token8] = ACTIONS(72), + [aux_sym_opcode_token9] = ACTIONS(72), + [aux_sym_opcode_token10] = ACTIONS(72), + [aux_sym_opcode_token11] = ACTIONS(72), + [aux_sym_opcode_token12] = ACTIONS(72), + [aux_sym_opcode_token13] = ACTIONS(72), + [aux_sym_opcode_token14] = ACTIONS(72), + [aux_sym_opcode_token15] = ACTIONS(72), + [aux_sym_opcode_token16] = ACTIONS(72), + [aux_sym_opcode_token17] = ACTIONS(72), + [aux_sym_opcode_token18] = ACTIONS(72), + [aux_sym_opcode_token19] = ACTIONS(72), + [aux_sym_opcode_token20] = ACTIONS(72), + [aux_sym_opcode_token21] = ACTIONS(72), + [aux_sym_opcode_token22] = ACTIONS(72), + [aux_sym_opcode_token23] = ACTIONS(72), + [aux_sym_opcode_token24] = ACTIONS(72), + [aux_sym_opcode_token25] = ACTIONS(72), + [aux_sym_branch_opcode_token1] = ACTIONS(76), + [aux_sym_branch_opcode_token2] = ACTIONS(76), + [aux_sym_branch_opcode_token3] = ACTIONS(76), + [aux_sym_branch_opcode_token4] = ACTIONS(76), + [aux_sym_branch_opcode_token5] = ACTIONS(76), + [aux_sym_branch_opcode_token6] = ACTIONS(76), + [aux_sym_branch_opcode_token7] = ACTIONS(76), + [aux_sym_branch_opcode_token8] = ACTIONS(76), + [aux_sym_branch_opcode_token9] = ACTIONS(76), [sym_comment] = ACTIONS(3), }, [9] = { - [sym_identifier] = ACTIONS(74), - [anon_sym_COMMA] = ACTIONS(76), - [aux_sym_ldm_opcode_token1] = ACTIONS(74), - [aux_sym_ldm_opcode_token2] = ACTIONS(74), - [aux_sym_load_opcode_token1] = ACTIONS(74), - [aux_sym_load_opcode_token2] = ACTIONS(74), - [sym_adr_opcode] = ACTIONS(74), - [aux_sym_push_opcode_token1] = ACTIONS(74), - [aux_sym_push_opcode_token2] = ACTIONS(74), - [aux_sym_opcode_token1] = ACTIONS(74), - [aux_sym_opcode_token2] = ACTIONS(74), - [aux_sym_opcode_token3] = ACTIONS(74), - [aux_sym_opcode_token4] = ACTIONS(74), - [aux_sym_opcode_token5] = ACTIONS(74), - [aux_sym_opcode_token6] = ACTIONS(74), - [aux_sym_opcode_token7] = ACTIONS(74), - [aux_sym_opcode_token8] = ACTIONS(74), - [aux_sym_opcode_token9] = ACTIONS(74), - [aux_sym_opcode_token10] = ACTIONS(74), - [aux_sym_opcode_token11] = ACTIONS(74), - [aux_sym_opcode_token12] = ACTIONS(74), - [aux_sym_opcode_token13] = ACTIONS(74), - [aux_sym_opcode_token14] = ACTIONS(74), - [aux_sym_opcode_token15] = ACTIONS(74), - [aux_sym_opcode_token16] = ACTIONS(74), - [aux_sym_opcode_token17] = ACTIONS(74), - [aux_sym_opcode_token18] = ACTIONS(74), - [aux_sym_opcode_token19] = ACTIONS(74), - [aux_sym_opcode_token20] = ACTIONS(74), - [aux_sym_opcode_token21] = ACTIONS(74), - [aux_sym_opcode_token22] = ACTIONS(74), - [aux_sym_opcode_token23] = ACTIONS(74), - [aux_sym_opcode_token24] = ACTIONS(74), - [aux_sym_opcode_token25] = ACTIONS(74), - [aux_sym_branch_opcode_token1] = ACTIONS(78), - [aux_sym_branch_opcode_token2] = ACTIONS(78), - [aux_sym_branch_opcode_token3] = ACTIONS(78), - [aux_sym_branch_opcode_token4] = ACTIONS(78), - [aux_sym_branch_opcode_token5] = ACTIONS(78), - [aux_sym_branch_opcode_token6] = ACTIONS(78), - [aux_sym_branch_opcode_token7] = ACTIONS(78), - [aux_sym_branch_opcode_token8] = ACTIONS(78), - [aux_sym_branch_opcode_token9] = ACTIONS(78), + [sym_identifier] = ACTIONS(78), + [aux_sym_ldm_opcode_token1] = ACTIONS(78), + [aux_sym_ldm_opcode_token2] = ACTIONS(78), + [aux_sym_load_opcode_token1] = ACTIONS(78), + [aux_sym_load_opcode_token2] = ACTIONS(78), + [sym_adr_opcode] = ACTIONS(78), + [aux_sym_push_opcode_token1] = ACTIONS(78), + [aux_sym_push_opcode_token2] = ACTIONS(78), + [aux_sym_opcode_token1] = ACTIONS(78), + [aux_sym_opcode_token2] = ACTIONS(78), + [aux_sym_opcode_token3] = ACTIONS(78), + [aux_sym_opcode_token4] = ACTIONS(78), + [aux_sym_opcode_token5] = ACTIONS(78), + [aux_sym_opcode_token6] = ACTIONS(78), + [aux_sym_opcode_token7] = ACTIONS(78), + [aux_sym_opcode_token8] = ACTIONS(78), + [aux_sym_opcode_token9] = ACTIONS(78), + [aux_sym_opcode_token10] = ACTIONS(78), + [aux_sym_opcode_token11] = ACTIONS(78), + [aux_sym_opcode_token12] = ACTIONS(78), + [aux_sym_opcode_token13] = ACTIONS(78), + [aux_sym_opcode_token14] = ACTIONS(78), + [aux_sym_opcode_token15] = ACTIONS(78), + [aux_sym_opcode_token16] = ACTIONS(78), + [aux_sym_opcode_token17] = ACTIONS(78), + [aux_sym_opcode_token18] = ACTIONS(78), + [aux_sym_opcode_token19] = ACTIONS(78), + [aux_sym_opcode_token20] = ACTIONS(78), + [aux_sym_opcode_token21] = ACTIONS(78), + [aux_sym_opcode_token22] = ACTIONS(78), + [aux_sym_opcode_token23] = ACTIONS(78), + [aux_sym_opcode_token24] = ACTIONS(78), + [aux_sym_opcode_token25] = ACTIONS(78), + [aux_sym_branch_opcode_token1] = ACTIONS(80), + [aux_sym_branch_opcode_token2] = ACTIONS(80), + [aux_sym_branch_opcode_token3] = ACTIONS(80), + [aux_sym_branch_opcode_token4] = ACTIONS(80), + [aux_sym_branch_opcode_token5] = ACTIONS(80), + [aux_sym_branch_opcode_token6] = ACTIONS(80), + [aux_sym_branch_opcode_token7] = ACTIONS(80), + [aux_sym_branch_opcode_token8] = ACTIONS(80), + [aux_sym_branch_opcode_token9] = ACTIONS(80), + [sym_directive] = ACTIONS(80), [sym_comment] = ACTIONS(3), }, [10] = { - [sym_identifier] = ACTIONS(74), - [aux_sym_ldm_opcode_token1] = ACTIONS(74), - [aux_sym_ldm_opcode_token2] = ACTIONS(74), - [aux_sym_load_opcode_token1] = ACTIONS(74), - [aux_sym_load_opcode_token2] = ACTIONS(74), - [sym_adr_opcode] = ACTIONS(74), - [aux_sym_push_opcode_token1] = ACTIONS(74), - [aux_sym_push_opcode_token2] = ACTIONS(74), - [aux_sym_opcode_token1] = ACTIONS(74), - [aux_sym_opcode_token2] = ACTIONS(74), - [aux_sym_opcode_token3] = ACTIONS(74), - [aux_sym_opcode_token4] = ACTIONS(74), - [aux_sym_opcode_token5] = ACTIONS(74), - [aux_sym_opcode_token6] = ACTIONS(74), - [aux_sym_opcode_token7] = ACTIONS(74), - [aux_sym_opcode_token8] = ACTIONS(74), - [aux_sym_opcode_token9] = ACTIONS(74), - [aux_sym_opcode_token10] = ACTIONS(74), - [aux_sym_opcode_token11] = ACTIONS(74), - [aux_sym_opcode_token12] = ACTIONS(74), - [aux_sym_opcode_token13] = ACTIONS(74), - [aux_sym_opcode_token14] = ACTIONS(74), - [aux_sym_opcode_token15] = ACTIONS(74), - [aux_sym_opcode_token16] = ACTIONS(74), - [aux_sym_opcode_token17] = ACTIONS(74), - [aux_sym_opcode_token18] = ACTIONS(74), - [aux_sym_opcode_token19] = ACTIONS(74), - [aux_sym_opcode_token20] = ACTIONS(74), - [aux_sym_opcode_token21] = ACTIONS(74), - [aux_sym_opcode_token22] = ACTIONS(74), - [aux_sym_opcode_token23] = ACTIONS(74), - [aux_sym_opcode_token24] = ACTIONS(74), - [aux_sym_opcode_token25] = ACTIONS(74), - [aux_sym_branch_opcode_token1] = ACTIONS(78), - [aux_sym_branch_opcode_token2] = ACTIONS(78), - [aux_sym_branch_opcode_token3] = ACTIONS(78), - [aux_sym_branch_opcode_token4] = ACTIONS(78), - [aux_sym_branch_opcode_token5] = ACTIONS(78), - [aux_sym_branch_opcode_token6] = ACTIONS(78), - [aux_sym_branch_opcode_token7] = ACTIONS(78), - [aux_sym_branch_opcode_token8] = ACTIONS(78), - [aux_sym_branch_opcode_token9] = ACTIONS(78), + [sym_identifier] = ACTIONS(82), + [aux_sym_ldm_opcode_token1] = ACTIONS(82), + [aux_sym_ldm_opcode_token2] = ACTIONS(82), + [aux_sym_load_opcode_token1] = ACTIONS(82), + [aux_sym_load_opcode_token2] = ACTIONS(82), + [sym_adr_opcode] = ACTIONS(82), + [aux_sym_push_opcode_token1] = ACTIONS(82), + [aux_sym_push_opcode_token2] = ACTIONS(82), + [aux_sym_opcode_token1] = ACTIONS(82), + [aux_sym_opcode_token2] = ACTIONS(82), + [aux_sym_opcode_token3] = ACTIONS(82), + [aux_sym_opcode_token4] = ACTIONS(82), + [aux_sym_opcode_token5] = ACTIONS(82), + [aux_sym_opcode_token6] = ACTIONS(82), + [aux_sym_opcode_token7] = ACTIONS(82), + [aux_sym_opcode_token8] = ACTIONS(82), + [aux_sym_opcode_token9] = ACTIONS(82), + [aux_sym_opcode_token10] = ACTIONS(82), + [aux_sym_opcode_token11] = ACTIONS(82), + [aux_sym_opcode_token12] = ACTIONS(82), + [aux_sym_opcode_token13] = ACTIONS(82), + [aux_sym_opcode_token14] = ACTIONS(82), + [aux_sym_opcode_token15] = ACTIONS(82), + [aux_sym_opcode_token16] = ACTIONS(82), + [aux_sym_opcode_token17] = ACTIONS(82), + [aux_sym_opcode_token18] = ACTIONS(82), + [aux_sym_opcode_token19] = ACTIONS(82), + [aux_sym_opcode_token20] = ACTIONS(82), + [aux_sym_opcode_token21] = ACTIONS(82), + [aux_sym_opcode_token22] = ACTIONS(82), + [aux_sym_opcode_token23] = ACTIONS(82), + [aux_sym_opcode_token24] = ACTIONS(82), + [aux_sym_opcode_token25] = ACTIONS(82), + [aux_sym_branch_opcode_token1] = ACTIONS(84), + [aux_sym_branch_opcode_token2] = ACTIONS(84), + [aux_sym_branch_opcode_token3] = ACTIONS(84), + [aux_sym_branch_opcode_token4] = ACTIONS(84), + [aux_sym_branch_opcode_token5] = ACTIONS(84), + [aux_sym_branch_opcode_token6] = ACTIONS(84), + [aux_sym_branch_opcode_token7] = ACTIONS(84), + [aux_sym_branch_opcode_token8] = ACTIONS(84), + [aux_sym_branch_opcode_token9] = ACTIONS(84), [sym_comment] = ACTIONS(3), }, [11] = { - [sym_identifier] = ACTIONS(80), - [aux_sym_ldm_opcode_token1] = ACTIONS(80), - [aux_sym_ldm_opcode_token2] = ACTIONS(80), - [aux_sym_load_opcode_token1] = ACTIONS(80), - [aux_sym_load_opcode_token2] = ACTIONS(80), - [sym_adr_opcode] = ACTIONS(80), - [aux_sym_push_opcode_token1] = ACTIONS(80), - [aux_sym_push_opcode_token2] = ACTIONS(80), - [aux_sym_opcode_token1] = ACTIONS(80), - [aux_sym_opcode_token2] = ACTIONS(80), - [aux_sym_opcode_token3] = ACTIONS(80), - [aux_sym_opcode_token4] = ACTIONS(80), - [aux_sym_opcode_token5] = ACTIONS(80), - [aux_sym_opcode_token6] = ACTIONS(80), - [aux_sym_opcode_token7] = ACTIONS(80), - [aux_sym_opcode_token8] = ACTIONS(80), - [aux_sym_opcode_token9] = ACTIONS(80), - [aux_sym_opcode_token10] = ACTIONS(80), - [aux_sym_opcode_token11] = ACTIONS(80), - [aux_sym_opcode_token12] = ACTIONS(80), - [aux_sym_opcode_token13] = ACTIONS(80), - [aux_sym_opcode_token14] = ACTIONS(80), - [aux_sym_opcode_token15] = ACTIONS(80), - [aux_sym_opcode_token16] = ACTIONS(80), - [aux_sym_opcode_token17] = ACTIONS(80), - [aux_sym_opcode_token18] = ACTIONS(80), - [aux_sym_opcode_token19] = ACTIONS(80), - [aux_sym_opcode_token20] = ACTIONS(80), - [aux_sym_opcode_token21] = ACTIONS(80), - [aux_sym_opcode_token22] = ACTIONS(80), - [aux_sym_opcode_token23] = ACTIONS(80), - [aux_sym_opcode_token24] = ACTIONS(80), - [aux_sym_opcode_token25] = ACTIONS(80), - [aux_sym_branch_opcode_token1] = ACTIONS(82), - [aux_sym_branch_opcode_token2] = ACTIONS(82), - [aux_sym_branch_opcode_token3] = ACTIONS(82), - [aux_sym_branch_opcode_token4] = ACTIONS(82), - [aux_sym_branch_opcode_token5] = ACTIONS(82), - [aux_sym_branch_opcode_token6] = ACTIONS(82), - [aux_sym_branch_opcode_token7] = ACTIONS(82), - [aux_sym_branch_opcode_token8] = ACTIONS(82), - [aux_sym_branch_opcode_token9] = ACTIONS(82), + [sym_identifier] = ACTIONS(86), + [aux_sym_ldm_opcode_token1] = ACTIONS(86), + [aux_sym_ldm_opcode_token2] = ACTIONS(86), + [aux_sym_load_opcode_token1] = ACTIONS(86), + [aux_sym_load_opcode_token2] = ACTIONS(86), + [sym_adr_opcode] = ACTIONS(86), + [aux_sym_push_opcode_token1] = ACTIONS(86), + [aux_sym_push_opcode_token2] = ACTIONS(86), + [aux_sym_opcode_token1] = ACTIONS(86), + [aux_sym_opcode_token2] = ACTIONS(86), + [aux_sym_opcode_token3] = ACTIONS(86), + [aux_sym_opcode_token4] = ACTIONS(86), + [aux_sym_opcode_token5] = ACTIONS(86), + [aux_sym_opcode_token6] = ACTIONS(86), + [aux_sym_opcode_token7] = ACTIONS(86), + [aux_sym_opcode_token8] = ACTIONS(86), + [aux_sym_opcode_token9] = ACTIONS(86), + [aux_sym_opcode_token10] = ACTIONS(86), + [aux_sym_opcode_token11] = ACTIONS(86), + [aux_sym_opcode_token12] = ACTIONS(86), + [aux_sym_opcode_token13] = ACTIONS(86), + [aux_sym_opcode_token14] = ACTIONS(86), + [aux_sym_opcode_token15] = ACTIONS(86), + [aux_sym_opcode_token16] = ACTIONS(86), + [aux_sym_opcode_token17] = ACTIONS(86), + [aux_sym_opcode_token18] = ACTIONS(86), + [aux_sym_opcode_token19] = ACTIONS(86), + [aux_sym_opcode_token20] = ACTIONS(86), + [aux_sym_opcode_token21] = ACTIONS(86), + [aux_sym_opcode_token22] = ACTIONS(86), + [aux_sym_opcode_token23] = ACTIONS(86), + [aux_sym_opcode_token24] = ACTIONS(86), + [aux_sym_opcode_token25] = ACTIONS(86), + [aux_sym_branch_opcode_token1] = ACTIONS(88), + [aux_sym_branch_opcode_token2] = ACTIONS(88), + [aux_sym_branch_opcode_token3] = ACTIONS(88), + [aux_sym_branch_opcode_token4] = ACTIONS(88), + [aux_sym_branch_opcode_token5] = ACTIONS(88), + [aux_sym_branch_opcode_token6] = ACTIONS(88), + [aux_sym_branch_opcode_token7] = ACTIONS(88), + [aux_sym_branch_opcode_token8] = ACTIONS(88), + [aux_sym_branch_opcode_token9] = ACTIONS(88), [sym_comment] = ACTIONS(3), }, [12] = { - [sym_identifier] = ACTIONS(84), - [aux_sym_ldm_opcode_token1] = ACTIONS(84), - [aux_sym_ldm_opcode_token2] = ACTIONS(84), - [aux_sym_load_opcode_token1] = ACTIONS(84), - [aux_sym_load_opcode_token2] = ACTIONS(84), - [sym_adr_opcode] = ACTIONS(84), - [aux_sym_push_opcode_token1] = ACTIONS(84), - [aux_sym_push_opcode_token2] = ACTIONS(84), - [aux_sym_opcode_token1] = ACTIONS(84), - [aux_sym_opcode_token2] = ACTIONS(84), - [aux_sym_opcode_token3] = ACTIONS(84), - [aux_sym_opcode_token4] = ACTIONS(84), - [aux_sym_opcode_token5] = ACTIONS(84), - [aux_sym_opcode_token6] = ACTIONS(84), - [aux_sym_opcode_token7] = ACTIONS(84), - [aux_sym_opcode_token8] = ACTIONS(84), - [aux_sym_opcode_token9] = ACTIONS(84), - [aux_sym_opcode_token10] = ACTIONS(84), - [aux_sym_opcode_token11] = ACTIONS(84), - [aux_sym_opcode_token12] = ACTIONS(84), - [aux_sym_opcode_token13] = ACTIONS(84), - [aux_sym_opcode_token14] = ACTIONS(84), - [aux_sym_opcode_token15] = ACTIONS(84), - [aux_sym_opcode_token16] = ACTIONS(84), - [aux_sym_opcode_token17] = ACTIONS(84), - [aux_sym_opcode_token18] = ACTIONS(84), - [aux_sym_opcode_token19] = ACTIONS(84), - [aux_sym_opcode_token20] = ACTIONS(84), - [aux_sym_opcode_token21] = ACTIONS(84), - [aux_sym_opcode_token22] = ACTIONS(84), - [aux_sym_opcode_token23] = ACTIONS(84), - [aux_sym_opcode_token24] = ACTIONS(84), - [aux_sym_opcode_token25] = ACTIONS(84), - [aux_sym_branch_opcode_token1] = ACTIONS(86), - [aux_sym_branch_opcode_token2] = ACTIONS(86), - [aux_sym_branch_opcode_token3] = ACTIONS(86), - [aux_sym_branch_opcode_token4] = ACTIONS(86), - [aux_sym_branch_opcode_token5] = ACTIONS(86), - [aux_sym_branch_opcode_token6] = ACTIONS(86), - [aux_sym_branch_opcode_token7] = ACTIONS(86), - [aux_sym_branch_opcode_token8] = ACTIONS(86), - [aux_sym_branch_opcode_token9] = ACTIONS(86), + [sym_identifier] = ACTIONS(90), + [aux_sym_ldm_opcode_token1] = ACTIONS(90), + [aux_sym_ldm_opcode_token2] = ACTIONS(90), + [aux_sym_load_opcode_token1] = ACTIONS(90), + [aux_sym_load_opcode_token2] = ACTIONS(90), + [sym_adr_opcode] = ACTIONS(90), + [aux_sym_push_opcode_token1] = ACTIONS(90), + [aux_sym_push_opcode_token2] = ACTIONS(90), + [aux_sym_opcode_token1] = ACTIONS(90), + [aux_sym_opcode_token2] = ACTIONS(90), + [aux_sym_opcode_token3] = ACTIONS(90), + [aux_sym_opcode_token4] = ACTIONS(90), + [aux_sym_opcode_token5] = ACTIONS(90), + [aux_sym_opcode_token6] = ACTIONS(90), + [aux_sym_opcode_token7] = ACTIONS(90), + [aux_sym_opcode_token8] = ACTIONS(90), + [aux_sym_opcode_token9] = ACTIONS(90), + [aux_sym_opcode_token10] = ACTIONS(90), + [aux_sym_opcode_token11] = ACTIONS(90), + [aux_sym_opcode_token12] = ACTIONS(90), + [aux_sym_opcode_token13] = ACTIONS(90), + [aux_sym_opcode_token14] = ACTIONS(90), + [aux_sym_opcode_token15] = ACTIONS(90), + [aux_sym_opcode_token16] = ACTIONS(90), + [aux_sym_opcode_token17] = ACTIONS(90), + [aux_sym_opcode_token18] = ACTIONS(90), + [aux_sym_opcode_token19] = ACTIONS(90), + [aux_sym_opcode_token20] = ACTIONS(90), + [aux_sym_opcode_token21] = ACTIONS(90), + [aux_sym_opcode_token22] = ACTIONS(90), + [aux_sym_opcode_token23] = ACTIONS(90), + [aux_sym_opcode_token24] = ACTIONS(90), + [aux_sym_opcode_token25] = ACTIONS(90), + [aux_sym_branch_opcode_token1] = ACTIONS(92), + [aux_sym_branch_opcode_token2] = ACTIONS(92), + [aux_sym_branch_opcode_token3] = ACTIONS(92), + [aux_sym_branch_opcode_token4] = ACTIONS(92), + [aux_sym_branch_opcode_token5] = ACTIONS(92), + [aux_sym_branch_opcode_token6] = ACTIONS(92), + [aux_sym_branch_opcode_token7] = ACTIONS(92), + [aux_sym_branch_opcode_token8] = ACTIONS(92), + [aux_sym_branch_opcode_token9] = ACTIONS(92), [sym_comment] = ACTIONS(3), }, [13] = { - [sym_identifier] = ACTIONS(88), - [aux_sym_ldm_opcode_token1] = ACTIONS(88), - [aux_sym_ldm_opcode_token2] = ACTIONS(88), - [aux_sym_load_opcode_token1] = ACTIONS(88), - [aux_sym_load_opcode_token2] = ACTIONS(88), - [sym_adr_opcode] = ACTIONS(88), - [aux_sym_push_opcode_token1] = ACTIONS(88), - [aux_sym_push_opcode_token2] = ACTIONS(88), - [aux_sym_opcode_token1] = ACTIONS(88), - [aux_sym_opcode_token2] = ACTIONS(88), - [aux_sym_opcode_token3] = ACTIONS(88), - [aux_sym_opcode_token4] = ACTIONS(88), - [aux_sym_opcode_token5] = ACTIONS(88), - [aux_sym_opcode_token6] = ACTIONS(88), - [aux_sym_opcode_token7] = ACTIONS(88), - [aux_sym_opcode_token8] = ACTIONS(88), - [aux_sym_opcode_token9] = ACTIONS(88), - [aux_sym_opcode_token10] = ACTIONS(88), - [aux_sym_opcode_token11] = ACTIONS(88), - [aux_sym_opcode_token12] = ACTIONS(88), - [aux_sym_opcode_token13] = ACTIONS(88), - [aux_sym_opcode_token14] = ACTIONS(88), - [aux_sym_opcode_token15] = ACTIONS(88), - [aux_sym_opcode_token16] = ACTIONS(88), - [aux_sym_opcode_token17] = ACTIONS(88), - [aux_sym_opcode_token18] = ACTIONS(88), - [aux_sym_opcode_token19] = ACTIONS(88), - [aux_sym_opcode_token20] = ACTIONS(88), - [aux_sym_opcode_token21] = ACTIONS(88), - [aux_sym_opcode_token22] = ACTIONS(88), - [aux_sym_opcode_token23] = ACTIONS(88), - [aux_sym_opcode_token24] = ACTIONS(88), - [aux_sym_opcode_token25] = ACTIONS(88), - [aux_sym_branch_opcode_token1] = ACTIONS(90), - [aux_sym_branch_opcode_token2] = ACTIONS(90), - [aux_sym_branch_opcode_token3] = ACTIONS(90), - [aux_sym_branch_opcode_token4] = ACTIONS(90), - [aux_sym_branch_opcode_token5] = ACTIONS(90), - [aux_sym_branch_opcode_token6] = ACTIONS(90), - [aux_sym_branch_opcode_token7] = ACTIONS(90), - [aux_sym_branch_opcode_token8] = ACTIONS(90), - [aux_sym_branch_opcode_token9] = ACTIONS(90), + [sym_identifier] = ACTIONS(94), + [aux_sym_ldm_opcode_token1] = ACTIONS(94), + [aux_sym_ldm_opcode_token2] = ACTIONS(94), + [aux_sym_load_opcode_token1] = ACTIONS(94), + [aux_sym_load_opcode_token2] = ACTIONS(94), + [sym_adr_opcode] = ACTIONS(94), + [aux_sym_push_opcode_token1] = ACTIONS(94), + [aux_sym_push_opcode_token2] = ACTIONS(94), + [aux_sym_opcode_token1] = ACTIONS(94), + [aux_sym_opcode_token2] = ACTIONS(94), + [aux_sym_opcode_token3] = ACTIONS(94), + [aux_sym_opcode_token4] = ACTIONS(94), + [aux_sym_opcode_token5] = ACTIONS(94), + [aux_sym_opcode_token6] = ACTIONS(94), + [aux_sym_opcode_token7] = ACTIONS(94), + [aux_sym_opcode_token8] = ACTIONS(94), + [aux_sym_opcode_token9] = ACTIONS(94), + [aux_sym_opcode_token10] = ACTIONS(94), + [aux_sym_opcode_token11] = ACTIONS(94), + [aux_sym_opcode_token12] = ACTIONS(94), + [aux_sym_opcode_token13] = ACTIONS(94), + [aux_sym_opcode_token14] = ACTIONS(94), + [aux_sym_opcode_token15] = ACTIONS(94), + [aux_sym_opcode_token16] = ACTIONS(94), + [aux_sym_opcode_token17] = ACTIONS(94), + [aux_sym_opcode_token18] = ACTIONS(94), + [aux_sym_opcode_token19] = ACTIONS(94), + [aux_sym_opcode_token20] = ACTIONS(94), + [aux_sym_opcode_token21] = ACTIONS(94), + [aux_sym_opcode_token22] = ACTIONS(94), + [aux_sym_opcode_token23] = ACTIONS(94), + [aux_sym_opcode_token24] = ACTIONS(94), + [aux_sym_opcode_token25] = ACTIONS(94), + [aux_sym_branch_opcode_token1] = ACTIONS(96), + [aux_sym_branch_opcode_token2] = ACTIONS(96), + [aux_sym_branch_opcode_token3] = ACTIONS(96), + [aux_sym_branch_opcode_token4] = ACTIONS(96), + [aux_sym_branch_opcode_token5] = ACTIONS(96), + [aux_sym_branch_opcode_token6] = ACTIONS(96), + [aux_sym_branch_opcode_token7] = ACTIONS(96), + [aux_sym_branch_opcode_token8] = ACTIONS(96), + [aux_sym_branch_opcode_token9] = ACTIONS(96), [sym_comment] = ACTIONS(3), }, [14] = { - [sym_identifier] = ACTIONS(92), - [aux_sym_ldm_opcode_token1] = ACTIONS(92), - [aux_sym_ldm_opcode_token2] = ACTIONS(92), - [aux_sym_load_opcode_token1] = ACTIONS(92), - [aux_sym_load_opcode_token2] = ACTIONS(92), - [sym_adr_opcode] = ACTIONS(92), - [aux_sym_push_opcode_token1] = ACTIONS(92), - [aux_sym_push_opcode_token2] = ACTIONS(92), - [aux_sym_opcode_token1] = ACTIONS(92), - [aux_sym_opcode_token2] = ACTIONS(92), - [aux_sym_opcode_token3] = ACTIONS(92), - [aux_sym_opcode_token4] = ACTIONS(92), - [aux_sym_opcode_token5] = ACTIONS(92), - [aux_sym_opcode_token6] = ACTIONS(92), - [aux_sym_opcode_token7] = ACTIONS(92), - [aux_sym_opcode_token8] = ACTIONS(92), - [aux_sym_opcode_token9] = ACTIONS(92), - [aux_sym_opcode_token10] = ACTIONS(92), - [aux_sym_opcode_token11] = ACTIONS(92), - [aux_sym_opcode_token12] = ACTIONS(92), - [aux_sym_opcode_token13] = ACTIONS(92), - [aux_sym_opcode_token14] = ACTIONS(92), - [aux_sym_opcode_token15] = ACTIONS(92), - [aux_sym_opcode_token16] = ACTIONS(92), - [aux_sym_opcode_token17] = ACTIONS(92), - [aux_sym_opcode_token18] = ACTIONS(92), - [aux_sym_opcode_token19] = ACTIONS(92), - [aux_sym_opcode_token20] = ACTIONS(92), - [aux_sym_opcode_token21] = ACTIONS(92), - [aux_sym_opcode_token22] = ACTIONS(92), - [aux_sym_opcode_token23] = ACTIONS(92), - [aux_sym_opcode_token24] = ACTIONS(92), - [aux_sym_opcode_token25] = ACTIONS(92), - [aux_sym_branch_opcode_token1] = ACTIONS(94), - [aux_sym_branch_opcode_token2] = ACTIONS(94), - [aux_sym_branch_opcode_token3] = ACTIONS(94), - [aux_sym_branch_opcode_token4] = ACTIONS(94), - [aux_sym_branch_opcode_token5] = ACTIONS(94), - [aux_sym_branch_opcode_token6] = ACTIONS(94), - [aux_sym_branch_opcode_token7] = ACTIONS(94), - [aux_sym_branch_opcode_token8] = ACTIONS(94), - [aux_sym_branch_opcode_token9] = ACTIONS(94), + [sym_identifier] = ACTIONS(98), + [aux_sym_ldm_opcode_token1] = ACTIONS(98), + [aux_sym_ldm_opcode_token2] = ACTIONS(98), + [aux_sym_load_opcode_token1] = ACTIONS(98), + [aux_sym_load_opcode_token2] = ACTIONS(98), + [sym_adr_opcode] = ACTIONS(98), + [aux_sym_push_opcode_token1] = ACTIONS(98), + [aux_sym_push_opcode_token2] = ACTIONS(98), + [aux_sym_opcode_token1] = ACTIONS(98), + [aux_sym_opcode_token2] = ACTIONS(98), + [aux_sym_opcode_token3] = ACTIONS(98), + [aux_sym_opcode_token4] = ACTIONS(98), + [aux_sym_opcode_token5] = ACTIONS(98), + [aux_sym_opcode_token6] = ACTIONS(98), + [aux_sym_opcode_token7] = ACTIONS(98), + [aux_sym_opcode_token8] = ACTIONS(98), + [aux_sym_opcode_token9] = ACTIONS(98), + [aux_sym_opcode_token10] = ACTIONS(98), + [aux_sym_opcode_token11] = ACTIONS(98), + [aux_sym_opcode_token12] = ACTIONS(98), + [aux_sym_opcode_token13] = ACTIONS(98), + [aux_sym_opcode_token14] = ACTIONS(98), + [aux_sym_opcode_token15] = ACTIONS(98), + [aux_sym_opcode_token16] = ACTIONS(98), + [aux_sym_opcode_token17] = ACTIONS(98), + [aux_sym_opcode_token18] = ACTIONS(98), + [aux_sym_opcode_token19] = ACTIONS(98), + [aux_sym_opcode_token20] = ACTIONS(98), + [aux_sym_opcode_token21] = ACTIONS(98), + [aux_sym_opcode_token22] = ACTIONS(98), + [aux_sym_opcode_token23] = ACTIONS(98), + [aux_sym_opcode_token24] = ACTIONS(98), + [aux_sym_opcode_token25] = ACTIONS(98), + [aux_sym_branch_opcode_token1] = ACTIONS(100), + [aux_sym_branch_opcode_token2] = ACTIONS(100), + [aux_sym_branch_opcode_token3] = ACTIONS(100), + [aux_sym_branch_opcode_token4] = ACTIONS(100), + [aux_sym_branch_opcode_token5] = ACTIONS(100), + [aux_sym_branch_opcode_token6] = ACTIONS(100), + [aux_sym_branch_opcode_token7] = ACTIONS(100), + [aux_sym_branch_opcode_token8] = ACTIONS(100), + [aux_sym_branch_opcode_token9] = ACTIONS(100), [sym_comment] = ACTIONS(3), }, [15] = { - [sym_identifier] = ACTIONS(96), - [aux_sym_ldm_opcode_token1] = ACTIONS(96), - [aux_sym_ldm_opcode_token2] = ACTIONS(96), - [aux_sym_load_opcode_token1] = ACTIONS(96), - [aux_sym_load_opcode_token2] = ACTIONS(96), - [sym_adr_opcode] = ACTIONS(96), - [aux_sym_push_opcode_token1] = ACTIONS(96), - [aux_sym_push_opcode_token2] = ACTIONS(96), - [aux_sym_opcode_token1] = ACTIONS(96), - [aux_sym_opcode_token2] = ACTIONS(96), - [aux_sym_opcode_token3] = ACTIONS(96), - [aux_sym_opcode_token4] = ACTIONS(96), - [aux_sym_opcode_token5] = ACTIONS(96), - [aux_sym_opcode_token6] = ACTIONS(96), - [aux_sym_opcode_token7] = ACTIONS(96), - [aux_sym_opcode_token8] = ACTIONS(96), - [aux_sym_opcode_token9] = ACTIONS(96), - [aux_sym_opcode_token10] = ACTIONS(96), - [aux_sym_opcode_token11] = ACTIONS(96), - [aux_sym_opcode_token12] = ACTIONS(96), - [aux_sym_opcode_token13] = ACTIONS(96), - [aux_sym_opcode_token14] = ACTIONS(96), - [aux_sym_opcode_token15] = ACTIONS(96), - [aux_sym_opcode_token16] = ACTIONS(96), - [aux_sym_opcode_token17] = ACTIONS(96), - [aux_sym_opcode_token18] = ACTIONS(96), - [aux_sym_opcode_token19] = ACTIONS(96), - [aux_sym_opcode_token20] = ACTIONS(96), - [aux_sym_opcode_token21] = ACTIONS(96), - [aux_sym_opcode_token22] = ACTIONS(96), - [aux_sym_opcode_token23] = ACTIONS(96), - [aux_sym_opcode_token24] = ACTIONS(96), - [aux_sym_opcode_token25] = ACTIONS(96), - [aux_sym_branch_opcode_token1] = ACTIONS(98), - [aux_sym_branch_opcode_token2] = ACTIONS(98), - [aux_sym_branch_opcode_token3] = ACTIONS(98), - [aux_sym_branch_opcode_token4] = ACTIONS(98), - [aux_sym_branch_opcode_token5] = ACTIONS(98), - [aux_sym_branch_opcode_token6] = ACTIONS(98), - [aux_sym_branch_opcode_token7] = ACTIONS(98), - [aux_sym_branch_opcode_token8] = ACTIONS(98), - [aux_sym_branch_opcode_token9] = ACTIONS(98), + [sym_identifier] = ACTIONS(102), + [aux_sym_ldm_opcode_token1] = ACTIONS(102), + [aux_sym_ldm_opcode_token2] = ACTIONS(102), + [aux_sym_load_opcode_token1] = ACTIONS(102), + [aux_sym_load_opcode_token2] = ACTIONS(102), + [sym_adr_opcode] = ACTIONS(102), + [aux_sym_push_opcode_token1] = ACTIONS(102), + [aux_sym_push_opcode_token2] = ACTIONS(102), + [aux_sym_opcode_token1] = ACTIONS(102), + [aux_sym_opcode_token2] = ACTIONS(102), + [aux_sym_opcode_token3] = ACTIONS(102), + [aux_sym_opcode_token4] = ACTIONS(102), + [aux_sym_opcode_token5] = ACTIONS(102), + [aux_sym_opcode_token6] = ACTIONS(102), + [aux_sym_opcode_token7] = ACTIONS(102), + [aux_sym_opcode_token8] = ACTIONS(102), + [aux_sym_opcode_token9] = ACTIONS(102), + [aux_sym_opcode_token10] = ACTIONS(102), + [aux_sym_opcode_token11] = ACTIONS(102), + [aux_sym_opcode_token12] = ACTIONS(102), + [aux_sym_opcode_token13] = ACTIONS(102), + [aux_sym_opcode_token14] = ACTIONS(102), + [aux_sym_opcode_token15] = ACTIONS(102), + [aux_sym_opcode_token16] = ACTIONS(102), + [aux_sym_opcode_token17] = ACTIONS(102), + [aux_sym_opcode_token18] = ACTIONS(102), + [aux_sym_opcode_token19] = ACTIONS(102), + [aux_sym_opcode_token20] = ACTIONS(102), + [aux_sym_opcode_token21] = ACTIONS(102), + [aux_sym_opcode_token22] = ACTIONS(102), + [aux_sym_opcode_token23] = ACTIONS(102), + [aux_sym_opcode_token24] = ACTIONS(102), + [aux_sym_opcode_token25] = ACTIONS(102), + [aux_sym_branch_opcode_token1] = ACTIONS(104), + [aux_sym_branch_opcode_token2] = ACTIONS(104), + [aux_sym_branch_opcode_token3] = ACTIONS(104), + [aux_sym_branch_opcode_token4] = ACTIONS(104), + [aux_sym_branch_opcode_token5] = ACTIONS(104), + [aux_sym_branch_opcode_token6] = ACTIONS(104), + [aux_sym_branch_opcode_token7] = ACTIONS(104), + [aux_sym_branch_opcode_token8] = ACTIONS(104), + [aux_sym_branch_opcode_token9] = ACTIONS(104), [sym_comment] = ACTIONS(3), }, [16] = { - [sym_identifier] = ACTIONS(100), - [aux_sym_ldm_opcode_token1] = ACTIONS(100), - [aux_sym_ldm_opcode_token2] = ACTIONS(100), - [aux_sym_load_opcode_token1] = ACTIONS(100), - [aux_sym_load_opcode_token2] = ACTIONS(100), - [sym_adr_opcode] = ACTIONS(100), - [aux_sym_push_opcode_token1] = ACTIONS(100), - [aux_sym_push_opcode_token2] = ACTIONS(100), - [aux_sym_opcode_token1] = ACTIONS(100), - [aux_sym_opcode_token2] = ACTIONS(100), - [aux_sym_opcode_token3] = ACTIONS(100), - [aux_sym_opcode_token4] = ACTIONS(100), - [aux_sym_opcode_token5] = ACTIONS(100), - [aux_sym_opcode_token6] = ACTIONS(100), - [aux_sym_opcode_token7] = ACTIONS(100), - [aux_sym_opcode_token8] = ACTIONS(100), - [aux_sym_opcode_token9] = ACTIONS(100), - [aux_sym_opcode_token10] = ACTIONS(100), - [aux_sym_opcode_token11] = ACTIONS(100), - [aux_sym_opcode_token12] = ACTIONS(100), - [aux_sym_opcode_token13] = ACTIONS(100), - [aux_sym_opcode_token14] = ACTIONS(100), - [aux_sym_opcode_token15] = ACTIONS(100), - [aux_sym_opcode_token16] = ACTIONS(100), - [aux_sym_opcode_token17] = ACTIONS(100), - [aux_sym_opcode_token18] = ACTIONS(100), - [aux_sym_opcode_token19] = ACTIONS(100), - [aux_sym_opcode_token20] = ACTIONS(100), - [aux_sym_opcode_token21] = ACTIONS(100), - [aux_sym_opcode_token22] = ACTIONS(100), - [aux_sym_opcode_token23] = ACTIONS(100), - [aux_sym_opcode_token24] = ACTIONS(100), - [aux_sym_opcode_token25] = ACTIONS(100), - [aux_sym_branch_opcode_token1] = ACTIONS(102), - [aux_sym_branch_opcode_token2] = ACTIONS(102), - [aux_sym_branch_opcode_token3] = ACTIONS(102), - [aux_sym_branch_opcode_token4] = ACTIONS(102), - [aux_sym_branch_opcode_token5] = ACTIONS(102), - [aux_sym_branch_opcode_token6] = ACTIONS(102), - [aux_sym_branch_opcode_token7] = ACTIONS(102), - [aux_sym_branch_opcode_token8] = ACTIONS(102), - [aux_sym_branch_opcode_token9] = ACTIONS(102), + [sym_identifier] = ACTIONS(106), + [aux_sym_ldm_opcode_token1] = ACTIONS(106), + [aux_sym_ldm_opcode_token2] = ACTIONS(106), + [aux_sym_load_opcode_token1] = ACTIONS(106), + [aux_sym_load_opcode_token2] = ACTIONS(106), + [sym_adr_opcode] = ACTIONS(106), + [aux_sym_push_opcode_token1] = ACTIONS(106), + [aux_sym_push_opcode_token2] = ACTIONS(106), + [aux_sym_opcode_token1] = ACTIONS(106), + [aux_sym_opcode_token2] = ACTIONS(106), + [aux_sym_opcode_token3] = ACTIONS(106), + [aux_sym_opcode_token4] = ACTIONS(106), + [aux_sym_opcode_token5] = ACTIONS(106), + [aux_sym_opcode_token6] = ACTIONS(106), + [aux_sym_opcode_token7] = ACTIONS(106), + [aux_sym_opcode_token8] = ACTIONS(106), + [aux_sym_opcode_token9] = ACTIONS(106), + [aux_sym_opcode_token10] = ACTIONS(106), + [aux_sym_opcode_token11] = ACTIONS(106), + [aux_sym_opcode_token12] = ACTIONS(106), + [aux_sym_opcode_token13] = ACTIONS(106), + [aux_sym_opcode_token14] = ACTIONS(106), + [aux_sym_opcode_token15] = ACTIONS(106), + [aux_sym_opcode_token16] = ACTIONS(106), + [aux_sym_opcode_token17] = ACTIONS(106), + [aux_sym_opcode_token18] = ACTIONS(106), + [aux_sym_opcode_token19] = ACTIONS(106), + [aux_sym_opcode_token20] = ACTIONS(106), + [aux_sym_opcode_token21] = ACTIONS(106), + [aux_sym_opcode_token22] = ACTIONS(106), + [aux_sym_opcode_token23] = ACTIONS(106), + [aux_sym_opcode_token24] = ACTIONS(106), + [aux_sym_opcode_token25] = ACTIONS(106), + [aux_sym_branch_opcode_token1] = ACTIONS(108), + [aux_sym_branch_opcode_token2] = ACTIONS(108), + [aux_sym_branch_opcode_token3] = ACTIONS(108), + [aux_sym_branch_opcode_token4] = ACTIONS(108), + [aux_sym_branch_opcode_token5] = ACTIONS(108), + [aux_sym_branch_opcode_token6] = ACTIONS(108), + [aux_sym_branch_opcode_token7] = ACTIONS(108), + [aux_sym_branch_opcode_token8] = ACTIONS(108), + [aux_sym_branch_opcode_token9] = ACTIONS(108), [sym_comment] = ACTIONS(3), }, [17] = { - [sym_identifier] = ACTIONS(104), - [aux_sym_ldm_opcode_token1] = ACTIONS(104), - [aux_sym_ldm_opcode_token2] = ACTIONS(104), - [aux_sym_load_opcode_token1] = ACTIONS(104), - [aux_sym_load_opcode_token2] = ACTIONS(104), - [sym_adr_opcode] = ACTIONS(104), - [aux_sym_push_opcode_token1] = ACTIONS(104), - [aux_sym_push_opcode_token2] = ACTIONS(104), - [aux_sym_opcode_token1] = ACTIONS(104), - [aux_sym_opcode_token2] = ACTIONS(104), - [aux_sym_opcode_token3] = ACTIONS(104), - [aux_sym_opcode_token4] = ACTIONS(104), - [aux_sym_opcode_token5] = ACTIONS(104), - [aux_sym_opcode_token6] = ACTIONS(104), - [aux_sym_opcode_token7] = ACTIONS(104), - [aux_sym_opcode_token8] = ACTIONS(104), - [aux_sym_opcode_token9] = ACTIONS(104), - [aux_sym_opcode_token10] = ACTIONS(104), - [aux_sym_opcode_token11] = ACTIONS(104), - [aux_sym_opcode_token12] = ACTIONS(104), - [aux_sym_opcode_token13] = ACTIONS(104), - [aux_sym_opcode_token14] = ACTIONS(104), - [aux_sym_opcode_token15] = ACTIONS(104), - [aux_sym_opcode_token16] = ACTIONS(104), - [aux_sym_opcode_token17] = ACTIONS(104), - [aux_sym_opcode_token18] = ACTIONS(104), - [aux_sym_opcode_token19] = ACTIONS(104), - [aux_sym_opcode_token20] = ACTIONS(104), - [aux_sym_opcode_token21] = ACTIONS(104), - [aux_sym_opcode_token22] = ACTIONS(104), - [aux_sym_opcode_token23] = ACTIONS(104), - [aux_sym_opcode_token24] = ACTIONS(104), - [aux_sym_opcode_token25] = ACTIONS(104), - [aux_sym_branch_opcode_token1] = ACTIONS(106), - [aux_sym_branch_opcode_token2] = ACTIONS(106), - [aux_sym_branch_opcode_token3] = ACTIONS(106), - [aux_sym_branch_opcode_token4] = ACTIONS(106), - [aux_sym_branch_opcode_token5] = ACTIONS(106), - [aux_sym_branch_opcode_token6] = ACTIONS(106), - [aux_sym_branch_opcode_token7] = ACTIONS(106), - [aux_sym_branch_opcode_token8] = ACTIONS(106), - [aux_sym_branch_opcode_token9] = ACTIONS(106), + [sym_identifier] = ACTIONS(110), + [aux_sym_ldm_opcode_token1] = ACTIONS(110), + [aux_sym_ldm_opcode_token2] = ACTIONS(110), + [aux_sym_load_opcode_token1] = ACTIONS(110), + [aux_sym_load_opcode_token2] = ACTIONS(110), + [sym_adr_opcode] = ACTIONS(110), + [aux_sym_push_opcode_token1] = ACTIONS(110), + [aux_sym_push_opcode_token2] = ACTIONS(110), + [aux_sym_opcode_token1] = ACTIONS(110), + [aux_sym_opcode_token2] = ACTIONS(110), + [aux_sym_opcode_token3] = ACTIONS(110), + [aux_sym_opcode_token4] = ACTIONS(110), + [aux_sym_opcode_token5] = ACTIONS(110), + [aux_sym_opcode_token6] = ACTIONS(110), + [aux_sym_opcode_token7] = ACTIONS(110), + [aux_sym_opcode_token8] = ACTIONS(110), + [aux_sym_opcode_token9] = ACTIONS(110), + [aux_sym_opcode_token10] = ACTIONS(110), + [aux_sym_opcode_token11] = ACTIONS(110), + [aux_sym_opcode_token12] = ACTIONS(110), + [aux_sym_opcode_token13] = ACTIONS(110), + [aux_sym_opcode_token14] = ACTIONS(110), + [aux_sym_opcode_token15] = ACTIONS(110), + [aux_sym_opcode_token16] = ACTIONS(110), + [aux_sym_opcode_token17] = ACTIONS(110), + [aux_sym_opcode_token18] = ACTIONS(110), + [aux_sym_opcode_token19] = ACTIONS(110), + [aux_sym_opcode_token20] = ACTIONS(110), + [aux_sym_opcode_token21] = ACTIONS(110), + [aux_sym_opcode_token22] = ACTIONS(110), + [aux_sym_opcode_token23] = ACTIONS(110), + [aux_sym_opcode_token24] = ACTIONS(110), + [aux_sym_opcode_token25] = ACTIONS(110), + [aux_sym_branch_opcode_token1] = ACTIONS(112), + [aux_sym_branch_opcode_token2] = ACTIONS(112), + [aux_sym_branch_opcode_token3] = ACTIONS(112), + [aux_sym_branch_opcode_token4] = ACTIONS(112), + [aux_sym_branch_opcode_token5] = ACTIONS(112), + [aux_sym_branch_opcode_token6] = ACTIONS(112), + [aux_sym_branch_opcode_token7] = ACTIONS(112), + [aux_sym_branch_opcode_token8] = ACTIONS(112), + [aux_sym_branch_opcode_token9] = ACTIONS(112), [sym_comment] = ACTIONS(3), }, [18] = { - [sym_identifier] = ACTIONS(108), - [aux_sym_ldm_opcode_token1] = ACTIONS(108), - [aux_sym_ldm_opcode_token2] = ACTIONS(108), - [aux_sym_load_opcode_token1] = ACTIONS(108), - [aux_sym_load_opcode_token2] = ACTIONS(108), - [sym_adr_opcode] = ACTIONS(108), - [aux_sym_push_opcode_token1] = ACTIONS(108), - [aux_sym_push_opcode_token2] = ACTIONS(108), - [aux_sym_opcode_token1] = ACTIONS(108), - [aux_sym_opcode_token2] = ACTIONS(108), - [aux_sym_opcode_token3] = ACTIONS(108), - [aux_sym_opcode_token4] = ACTIONS(108), - [aux_sym_opcode_token5] = ACTIONS(108), - [aux_sym_opcode_token6] = ACTIONS(108), - [aux_sym_opcode_token7] = ACTIONS(108), - [aux_sym_opcode_token8] = ACTIONS(108), - [aux_sym_opcode_token9] = ACTIONS(108), - [aux_sym_opcode_token10] = ACTIONS(108), - [aux_sym_opcode_token11] = ACTIONS(108), - [aux_sym_opcode_token12] = ACTIONS(108), - [aux_sym_opcode_token13] = ACTIONS(108), - [aux_sym_opcode_token14] = ACTIONS(108), - [aux_sym_opcode_token15] = ACTIONS(108), - [aux_sym_opcode_token16] = ACTIONS(108), - [aux_sym_opcode_token17] = ACTIONS(108), - [aux_sym_opcode_token18] = ACTIONS(108), - [aux_sym_opcode_token19] = ACTIONS(108), - [aux_sym_opcode_token20] = ACTIONS(108), - [aux_sym_opcode_token21] = ACTIONS(108), - [aux_sym_opcode_token22] = ACTIONS(108), - [aux_sym_opcode_token23] = ACTIONS(108), - [aux_sym_opcode_token24] = ACTIONS(108), - [aux_sym_opcode_token25] = ACTIONS(108), - [aux_sym_branch_opcode_token1] = ACTIONS(110), - [aux_sym_branch_opcode_token2] = ACTIONS(110), - [aux_sym_branch_opcode_token3] = ACTIONS(110), - [aux_sym_branch_opcode_token4] = ACTIONS(110), - [aux_sym_branch_opcode_token5] = ACTIONS(110), - [aux_sym_branch_opcode_token6] = ACTIONS(110), - [aux_sym_branch_opcode_token7] = ACTIONS(110), - [aux_sym_branch_opcode_token8] = ACTIONS(110), - [aux_sym_branch_opcode_token9] = ACTIONS(110), + [sym_identifier] = ACTIONS(114), + [aux_sym_ldm_opcode_token1] = ACTIONS(114), + [aux_sym_ldm_opcode_token2] = ACTIONS(114), + [aux_sym_load_opcode_token1] = ACTIONS(114), + [aux_sym_load_opcode_token2] = ACTIONS(114), + [sym_adr_opcode] = ACTIONS(114), + [aux_sym_push_opcode_token1] = ACTIONS(114), + [aux_sym_push_opcode_token2] = ACTIONS(114), + [aux_sym_opcode_token1] = ACTIONS(114), + [aux_sym_opcode_token2] = ACTIONS(114), + [aux_sym_opcode_token3] = ACTIONS(114), + [aux_sym_opcode_token4] = ACTIONS(114), + [aux_sym_opcode_token5] = ACTIONS(114), + [aux_sym_opcode_token6] = ACTIONS(114), + [aux_sym_opcode_token7] = ACTIONS(114), + [aux_sym_opcode_token8] = ACTIONS(114), + [aux_sym_opcode_token9] = ACTIONS(114), + [aux_sym_opcode_token10] = ACTIONS(114), + [aux_sym_opcode_token11] = ACTIONS(114), + [aux_sym_opcode_token12] = ACTIONS(114), + [aux_sym_opcode_token13] = ACTIONS(114), + [aux_sym_opcode_token14] = ACTIONS(114), + [aux_sym_opcode_token15] = ACTIONS(114), + [aux_sym_opcode_token16] = ACTIONS(114), + [aux_sym_opcode_token17] = ACTIONS(114), + [aux_sym_opcode_token18] = ACTIONS(114), + [aux_sym_opcode_token19] = ACTIONS(114), + [aux_sym_opcode_token20] = ACTIONS(114), + [aux_sym_opcode_token21] = ACTIONS(114), + [aux_sym_opcode_token22] = ACTIONS(114), + [aux_sym_opcode_token23] = ACTIONS(114), + [aux_sym_opcode_token24] = ACTIONS(114), + [aux_sym_opcode_token25] = ACTIONS(114), + [aux_sym_branch_opcode_token1] = ACTIONS(116), + [aux_sym_branch_opcode_token2] = ACTIONS(116), + [aux_sym_branch_opcode_token3] = ACTIONS(116), + [aux_sym_branch_opcode_token4] = ACTIONS(116), + [aux_sym_branch_opcode_token5] = ACTIONS(116), + [aux_sym_branch_opcode_token6] = ACTIONS(116), + [aux_sym_branch_opcode_token7] = ACTIONS(116), + [aux_sym_branch_opcode_token8] = ACTIONS(116), + [aux_sym_branch_opcode_token9] = ACTIONS(116), [sym_comment] = ACTIONS(3), }, [19] = { - [sym_identifier] = ACTIONS(112), - [aux_sym_ldm_opcode_token1] = ACTIONS(112), - [aux_sym_ldm_opcode_token2] = ACTIONS(112), - [aux_sym_load_opcode_token1] = ACTIONS(112), - [aux_sym_load_opcode_token2] = ACTIONS(112), - [sym_adr_opcode] = ACTIONS(112), - [aux_sym_push_opcode_token1] = ACTIONS(112), - [aux_sym_push_opcode_token2] = ACTIONS(112), - [aux_sym_opcode_token1] = ACTIONS(112), - [aux_sym_opcode_token2] = ACTIONS(112), - [aux_sym_opcode_token3] = ACTIONS(112), - [aux_sym_opcode_token4] = ACTIONS(112), - [aux_sym_opcode_token5] = ACTIONS(112), - [aux_sym_opcode_token6] = ACTIONS(112), - [aux_sym_opcode_token7] = ACTIONS(112), - [aux_sym_opcode_token8] = ACTIONS(112), - [aux_sym_opcode_token9] = ACTIONS(112), - [aux_sym_opcode_token10] = ACTIONS(112), - [aux_sym_opcode_token11] = ACTIONS(112), - [aux_sym_opcode_token12] = ACTIONS(112), - [aux_sym_opcode_token13] = ACTIONS(112), - [aux_sym_opcode_token14] = ACTIONS(112), - [aux_sym_opcode_token15] = ACTIONS(112), - [aux_sym_opcode_token16] = ACTIONS(112), - [aux_sym_opcode_token17] = ACTIONS(112), - [aux_sym_opcode_token18] = ACTIONS(112), - [aux_sym_opcode_token19] = ACTIONS(112), - [aux_sym_opcode_token20] = ACTIONS(112), - [aux_sym_opcode_token21] = ACTIONS(112), - [aux_sym_opcode_token22] = ACTIONS(112), - [aux_sym_opcode_token23] = ACTIONS(112), - [aux_sym_opcode_token24] = ACTIONS(112), - [aux_sym_opcode_token25] = ACTIONS(112), - [aux_sym_branch_opcode_token1] = ACTIONS(114), - [aux_sym_branch_opcode_token2] = ACTIONS(114), - [aux_sym_branch_opcode_token3] = ACTIONS(114), - [aux_sym_branch_opcode_token4] = ACTIONS(114), - [aux_sym_branch_opcode_token5] = ACTIONS(114), - [aux_sym_branch_opcode_token6] = ACTIONS(114), - [aux_sym_branch_opcode_token7] = ACTIONS(114), - [aux_sym_branch_opcode_token8] = ACTIONS(114), - [aux_sym_branch_opcode_token9] = ACTIONS(114), + [sym_identifier] = ACTIONS(118), + [aux_sym_ldm_opcode_token1] = ACTIONS(118), + [aux_sym_ldm_opcode_token2] = ACTIONS(118), + [aux_sym_load_opcode_token1] = ACTIONS(118), + [aux_sym_load_opcode_token2] = ACTIONS(118), + [sym_adr_opcode] = ACTIONS(118), + [aux_sym_push_opcode_token1] = ACTIONS(118), + [aux_sym_push_opcode_token2] = ACTIONS(118), + [aux_sym_opcode_token1] = ACTIONS(118), + [aux_sym_opcode_token2] = ACTIONS(118), + [aux_sym_opcode_token3] = ACTIONS(118), + [aux_sym_opcode_token4] = ACTIONS(118), + [aux_sym_opcode_token5] = ACTIONS(118), + [aux_sym_opcode_token6] = ACTIONS(118), + [aux_sym_opcode_token7] = ACTIONS(118), + [aux_sym_opcode_token8] = ACTIONS(118), + [aux_sym_opcode_token9] = ACTIONS(118), + [aux_sym_opcode_token10] = ACTIONS(118), + [aux_sym_opcode_token11] = ACTIONS(118), + [aux_sym_opcode_token12] = ACTIONS(118), + [aux_sym_opcode_token13] = ACTIONS(118), + [aux_sym_opcode_token14] = ACTIONS(118), + [aux_sym_opcode_token15] = ACTIONS(118), + [aux_sym_opcode_token16] = ACTIONS(118), + [aux_sym_opcode_token17] = ACTIONS(118), + [aux_sym_opcode_token18] = ACTIONS(118), + [aux_sym_opcode_token19] = ACTIONS(118), + [aux_sym_opcode_token20] = ACTIONS(118), + [aux_sym_opcode_token21] = ACTIONS(118), + [aux_sym_opcode_token22] = ACTIONS(118), + [aux_sym_opcode_token23] = ACTIONS(118), + [aux_sym_opcode_token24] = ACTIONS(118), + [aux_sym_opcode_token25] = ACTIONS(118), + [aux_sym_branch_opcode_token1] = ACTIONS(120), + [aux_sym_branch_opcode_token2] = ACTIONS(120), + [aux_sym_branch_opcode_token3] = ACTIONS(120), + [aux_sym_branch_opcode_token4] = ACTIONS(120), + [aux_sym_branch_opcode_token5] = ACTIONS(120), + [aux_sym_branch_opcode_token6] = ACTIONS(120), + [aux_sym_branch_opcode_token7] = ACTIONS(120), + [aux_sym_branch_opcode_token8] = ACTIONS(120), + [aux_sym_branch_opcode_token9] = ACTIONS(120), [sym_comment] = ACTIONS(3), }, [20] = { - [sym_identifier] = ACTIONS(116), - [aux_sym_ldm_opcode_token1] = ACTIONS(116), - [aux_sym_ldm_opcode_token2] = ACTIONS(116), - [aux_sym_load_opcode_token1] = ACTIONS(116), - [aux_sym_load_opcode_token2] = ACTIONS(116), - [sym_adr_opcode] = ACTIONS(116), - [aux_sym_push_opcode_token1] = ACTIONS(116), - [aux_sym_push_opcode_token2] = ACTIONS(116), - [aux_sym_opcode_token1] = ACTIONS(116), - [aux_sym_opcode_token2] = ACTIONS(116), - [aux_sym_opcode_token3] = ACTIONS(116), - [aux_sym_opcode_token4] = ACTIONS(116), - [aux_sym_opcode_token5] = ACTIONS(116), - [aux_sym_opcode_token6] = ACTIONS(116), - [aux_sym_opcode_token7] = ACTIONS(116), - [aux_sym_opcode_token8] = ACTIONS(116), - [aux_sym_opcode_token9] = ACTIONS(116), - [aux_sym_opcode_token10] = ACTIONS(116), - [aux_sym_opcode_token11] = ACTIONS(116), - [aux_sym_opcode_token12] = ACTIONS(116), - [aux_sym_opcode_token13] = ACTIONS(116), - [aux_sym_opcode_token14] = ACTIONS(116), - [aux_sym_opcode_token15] = ACTIONS(116), - [aux_sym_opcode_token16] = ACTIONS(116), - [aux_sym_opcode_token17] = ACTIONS(116), - [aux_sym_opcode_token18] = ACTIONS(116), - [aux_sym_opcode_token19] = ACTIONS(116), - [aux_sym_opcode_token20] = ACTIONS(116), - [aux_sym_opcode_token21] = ACTIONS(116), - [aux_sym_opcode_token22] = ACTIONS(116), - [aux_sym_opcode_token23] = ACTIONS(116), - [aux_sym_opcode_token24] = ACTIONS(116), - [aux_sym_opcode_token25] = ACTIONS(116), - [aux_sym_branch_opcode_token1] = ACTIONS(118), - [aux_sym_branch_opcode_token2] = ACTIONS(118), - [aux_sym_branch_opcode_token3] = ACTIONS(118), - [aux_sym_branch_opcode_token4] = ACTIONS(118), - [aux_sym_branch_opcode_token5] = ACTIONS(118), - [aux_sym_branch_opcode_token6] = ACTIONS(118), - [aux_sym_branch_opcode_token7] = ACTIONS(118), - [aux_sym_branch_opcode_token8] = ACTIONS(118), - [aux_sym_branch_opcode_token9] = ACTIONS(118), + [sym_identifier] = ACTIONS(122), + [aux_sym_ldm_opcode_token1] = ACTIONS(122), + [aux_sym_ldm_opcode_token2] = ACTIONS(122), + [aux_sym_load_opcode_token1] = ACTIONS(122), + [aux_sym_load_opcode_token2] = ACTIONS(122), + [sym_adr_opcode] = ACTIONS(122), + [aux_sym_push_opcode_token1] = ACTIONS(122), + [aux_sym_push_opcode_token2] = ACTIONS(122), + [aux_sym_opcode_token1] = ACTIONS(122), + [aux_sym_opcode_token2] = ACTIONS(122), + [aux_sym_opcode_token3] = ACTIONS(122), + [aux_sym_opcode_token4] = ACTIONS(122), + [aux_sym_opcode_token5] = ACTIONS(122), + [aux_sym_opcode_token6] = ACTIONS(122), + [aux_sym_opcode_token7] = ACTIONS(122), + [aux_sym_opcode_token8] = ACTIONS(122), + [aux_sym_opcode_token9] = ACTIONS(122), + [aux_sym_opcode_token10] = ACTIONS(122), + [aux_sym_opcode_token11] = ACTIONS(122), + [aux_sym_opcode_token12] = ACTIONS(122), + [aux_sym_opcode_token13] = ACTIONS(122), + [aux_sym_opcode_token14] = ACTIONS(122), + [aux_sym_opcode_token15] = ACTIONS(122), + [aux_sym_opcode_token16] = ACTIONS(122), + [aux_sym_opcode_token17] = ACTIONS(122), + [aux_sym_opcode_token18] = ACTIONS(122), + [aux_sym_opcode_token19] = ACTIONS(122), + [aux_sym_opcode_token20] = ACTIONS(122), + [aux_sym_opcode_token21] = ACTIONS(122), + [aux_sym_opcode_token22] = ACTIONS(122), + [aux_sym_opcode_token23] = ACTIONS(122), + [aux_sym_opcode_token24] = ACTIONS(122), + [aux_sym_opcode_token25] = ACTIONS(122), + [aux_sym_branch_opcode_token1] = ACTIONS(124), + [aux_sym_branch_opcode_token2] = ACTIONS(124), + [aux_sym_branch_opcode_token3] = ACTIONS(124), + [aux_sym_branch_opcode_token4] = ACTIONS(124), + [aux_sym_branch_opcode_token5] = ACTIONS(124), + [aux_sym_branch_opcode_token6] = ACTIONS(124), + [aux_sym_branch_opcode_token7] = ACTIONS(124), + [aux_sym_branch_opcode_token8] = ACTIONS(124), + [aux_sym_branch_opcode_token9] = ACTIONS(124), [sym_comment] = ACTIONS(3), }, [21] = { - [sym_identifier] = ACTIONS(120), - [aux_sym_ldm_opcode_token1] = ACTIONS(120), - [aux_sym_ldm_opcode_token2] = ACTIONS(120), - [aux_sym_load_opcode_token1] = ACTIONS(120), - [aux_sym_load_opcode_token2] = ACTIONS(120), - [sym_adr_opcode] = ACTIONS(120), - [aux_sym_push_opcode_token1] = ACTIONS(120), - [aux_sym_push_opcode_token2] = ACTIONS(120), - [aux_sym_opcode_token1] = ACTIONS(120), - [aux_sym_opcode_token2] = ACTIONS(120), - [aux_sym_opcode_token3] = ACTIONS(120), - [aux_sym_opcode_token4] = ACTIONS(120), - [aux_sym_opcode_token5] = ACTIONS(120), - [aux_sym_opcode_token6] = ACTIONS(120), - [aux_sym_opcode_token7] = ACTIONS(120), - [aux_sym_opcode_token8] = ACTIONS(120), - [aux_sym_opcode_token9] = ACTIONS(120), - [aux_sym_opcode_token10] = ACTIONS(120), - [aux_sym_opcode_token11] = ACTIONS(120), - [aux_sym_opcode_token12] = ACTIONS(120), - [aux_sym_opcode_token13] = ACTIONS(120), - [aux_sym_opcode_token14] = ACTIONS(120), - [aux_sym_opcode_token15] = ACTIONS(120), - [aux_sym_opcode_token16] = ACTIONS(120), - [aux_sym_opcode_token17] = ACTIONS(120), - [aux_sym_opcode_token18] = ACTIONS(120), - [aux_sym_opcode_token19] = ACTIONS(120), - [aux_sym_opcode_token20] = ACTIONS(120), - [aux_sym_opcode_token21] = ACTIONS(120), - [aux_sym_opcode_token22] = ACTIONS(120), - [aux_sym_opcode_token23] = ACTIONS(120), - [aux_sym_opcode_token24] = ACTIONS(120), - [aux_sym_opcode_token25] = ACTIONS(120), - [aux_sym_branch_opcode_token1] = ACTIONS(122), - [aux_sym_branch_opcode_token2] = ACTIONS(122), - [aux_sym_branch_opcode_token3] = ACTIONS(122), - [aux_sym_branch_opcode_token4] = ACTIONS(122), - [aux_sym_branch_opcode_token5] = ACTIONS(122), - [aux_sym_branch_opcode_token6] = ACTIONS(122), - [aux_sym_branch_opcode_token7] = ACTIONS(122), - [aux_sym_branch_opcode_token8] = ACTIONS(122), - [aux_sym_branch_opcode_token9] = ACTIONS(122), + [sym_identifier] = ACTIONS(126), + [aux_sym_ldm_opcode_token1] = ACTIONS(126), + [aux_sym_ldm_opcode_token2] = ACTIONS(126), + [aux_sym_load_opcode_token1] = ACTIONS(126), + [aux_sym_load_opcode_token2] = ACTIONS(126), + [sym_adr_opcode] = ACTIONS(126), + [aux_sym_push_opcode_token1] = ACTIONS(126), + [aux_sym_push_opcode_token2] = ACTIONS(126), + [aux_sym_opcode_token1] = ACTIONS(126), + [aux_sym_opcode_token2] = ACTIONS(126), + [aux_sym_opcode_token3] = ACTIONS(126), + [aux_sym_opcode_token4] = ACTIONS(126), + [aux_sym_opcode_token5] = ACTIONS(126), + [aux_sym_opcode_token6] = ACTIONS(126), + [aux_sym_opcode_token7] = ACTIONS(126), + [aux_sym_opcode_token8] = ACTIONS(126), + [aux_sym_opcode_token9] = ACTIONS(126), + [aux_sym_opcode_token10] = ACTIONS(126), + [aux_sym_opcode_token11] = ACTIONS(126), + [aux_sym_opcode_token12] = ACTIONS(126), + [aux_sym_opcode_token13] = ACTIONS(126), + [aux_sym_opcode_token14] = ACTIONS(126), + [aux_sym_opcode_token15] = ACTIONS(126), + [aux_sym_opcode_token16] = ACTIONS(126), + [aux_sym_opcode_token17] = ACTIONS(126), + [aux_sym_opcode_token18] = ACTIONS(126), + [aux_sym_opcode_token19] = ACTIONS(126), + [aux_sym_opcode_token20] = ACTIONS(126), + [aux_sym_opcode_token21] = ACTIONS(126), + [aux_sym_opcode_token22] = ACTIONS(126), + [aux_sym_opcode_token23] = ACTIONS(126), + [aux_sym_opcode_token24] = ACTIONS(126), + [aux_sym_opcode_token25] = ACTIONS(126), + [aux_sym_branch_opcode_token1] = ACTIONS(128), + [aux_sym_branch_opcode_token2] = ACTIONS(128), + [aux_sym_branch_opcode_token3] = ACTIONS(128), + [aux_sym_branch_opcode_token4] = ACTIONS(128), + [aux_sym_branch_opcode_token5] = ACTIONS(128), + [aux_sym_branch_opcode_token6] = ACTIONS(128), + [aux_sym_branch_opcode_token7] = ACTIONS(128), + [aux_sym_branch_opcode_token8] = ACTIONS(128), + [aux_sym_branch_opcode_token9] = ACTIONS(128), [sym_comment] = ACTIONS(3), }, [22] = { - [sym_identifier] = ACTIONS(124), - [aux_sym_ldm_opcode_token1] = ACTIONS(124), - [aux_sym_ldm_opcode_token2] = ACTIONS(124), - [aux_sym_load_opcode_token1] = ACTIONS(124), - [aux_sym_load_opcode_token2] = ACTIONS(124), - [sym_adr_opcode] = ACTIONS(124), - [aux_sym_push_opcode_token1] = ACTIONS(124), - [aux_sym_push_opcode_token2] = ACTIONS(124), - [aux_sym_opcode_token1] = ACTIONS(124), - [aux_sym_opcode_token2] = ACTIONS(124), - [aux_sym_opcode_token3] = ACTIONS(124), - [aux_sym_opcode_token4] = ACTIONS(124), - [aux_sym_opcode_token5] = ACTIONS(124), - [aux_sym_opcode_token6] = ACTIONS(124), - [aux_sym_opcode_token7] = ACTIONS(124), - [aux_sym_opcode_token8] = ACTIONS(124), - [aux_sym_opcode_token9] = ACTIONS(124), - [aux_sym_opcode_token10] = ACTIONS(124), - [aux_sym_opcode_token11] = ACTIONS(124), - [aux_sym_opcode_token12] = ACTIONS(124), - [aux_sym_opcode_token13] = ACTIONS(124), - [aux_sym_opcode_token14] = ACTIONS(124), - [aux_sym_opcode_token15] = ACTIONS(124), - [aux_sym_opcode_token16] = ACTIONS(124), - [aux_sym_opcode_token17] = ACTIONS(124), - [aux_sym_opcode_token18] = ACTIONS(124), - [aux_sym_opcode_token19] = ACTIONS(124), - [aux_sym_opcode_token20] = ACTIONS(124), - [aux_sym_opcode_token21] = ACTIONS(124), - [aux_sym_opcode_token22] = ACTIONS(124), - [aux_sym_opcode_token23] = ACTIONS(124), - [aux_sym_opcode_token24] = ACTIONS(124), - [aux_sym_opcode_token25] = ACTIONS(124), - [aux_sym_branch_opcode_token1] = ACTIONS(126), - [aux_sym_branch_opcode_token2] = ACTIONS(126), - [aux_sym_branch_opcode_token3] = ACTIONS(126), - [aux_sym_branch_opcode_token4] = ACTIONS(126), - [aux_sym_branch_opcode_token5] = ACTIONS(126), - [aux_sym_branch_opcode_token6] = ACTIONS(126), - [aux_sym_branch_opcode_token7] = ACTIONS(126), - [aux_sym_branch_opcode_token8] = ACTIONS(126), - [aux_sym_branch_opcode_token9] = ACTIONS(126), + [sym_identifier] = ACTIONS(130), + [aux_sym_ldm_opcode_token1] = ACTIONS(130), + [aux_sym_ldm_opcode_token2] = ACTIONS(130), + [aux_sym_load_opcode_token1] = ACTIONS(130), + [aux_sym_load_opcode_token2] = ACTIONS(130), + [sym_adr_opcode] = ACTIONS(130), + [aux_sym_push_opcode_token1] = ACTIONS(130), + [aux_sym_push_opcode_token2] = ACTIONS(130), + [aux_sym_opcode_token1] = ACTIONS(130), + [aux_sym_opcode_token2] = ACTIONS(130), + [aux_sym_opcode_token3] = ACTIONS(130), + [aux_sym_opcode_token4] = ACTIONS(130), + [aux_sym_opcode_token5] = ACTIONS(130), + [aux_sym_opcode_token6] = ACTIONS(130), + [aux_sym_opcode_token7] = ACTIONS(130), + [aux_sym_opcode_token8] = ACTIONS(130), + [aux_sym_opcode_token9] = ACTIONS(130), + [aux_sym_opcode_token10] = ACTIONS(130), + [aux_sym_opcode_token11] = ACTIONS(130), + [aux_sym_opcode_token12] = ACTIONS(130), + [aux_sym_opcode_token13] = ACTIONS(130), + [aux_sym_opcode_token14] = ACTIONS(130), + [aux_sym_opcode_token15] = ACTIONS(130), + [aux_sym_opcode_token16] = ACTIONS(130), + [aux_sym_opcode_token17] = ACTIONS(130), + [aux_sym_opcode_token18] = ACTIONS(130), + [aux_sym_opcode_token19] = ACTIONS(130), + [aux_sym_opcode_token20] = ACTIONS(130), + [aux_sym_opcode_token21] = ACTIONS(130), + [aux_sym_opcode_token22] = ACTIONS(130), + [aux_sym_opcode_token23] = ACTIONS(130), + [aux_sym_opcode_token24] = ACTIONS(130), + [aux_sym_opcode_token25] = ACTIONS(130), + [aux_sym_branch_opcode_token1] = ACTIONS(132), + [aux_sym_branch_opcode_token2] = ACTIONS(132), + [aux_sym_branch_opcode_token3] = ACTIONS(132), + [aux_sym_branch_opcode_token4] = ACTIONS(132), + [aux_sym_branch_opcode_token5] = ACTIONS(132), + [aux_sym_branch_opcode_token6] = ACTIONS(132), + [aux_sym_branch_opcode_token7] = ACTIONS(132), + [aux_sym_branch_opcode_token8] = ACTIONS(132), + [aux_sym_branch_opcode_token9] = ACTIONS(132), [sym_comment] = ACTIONS(3), }, [23] = { - [sym_identifier] = ACTIONS(128), - [aux_sym_ldm_opcode_token1] = ACTIONS(128), - [aux_sym_ldm_opcode_token2] = ACTIONS(128), - [aux_sym_load_opcode_token1] = ACTIONS(128), - [aux_sym_load_opcode_token2] = ACTIONS(128), - [sym_adr_opcode] = ACTIONS(128), - [aux_sym_push_opcode_token1] = ACTIONS(128), - [aux_sym_push_opcode_token2] = ACTIONS(128), - [aux_sym_opcode_token1] = ACTIONS(128), - [aux_sym_opcode_token2] = ACTIONS(128), - [aux_sym_opcode_token3] = ACTIONS(128), - [aux_sym_opcode_token4] = ACTIONS(128), - [aux_sym_opcode_token5] = ACTIONS(128), - [aux_sym_opcode_token6] = ACTIONS(128), - [aux_sym_opcode_token7] = ACTIONS(128), - [aux_sym_opcode_token8] = ACTIONS(128), - [aux_sym_opcode_token9] = ACTIONS(128), - [aux_sym_opcode_token10] = ACTIONS(128), - [aux_sym_opcode_token11] = ACTIONS(128), - [aux_sym_opcode_token12] = ACTIONS(128), - [aux_sym_opcode_token13] = ACTIONS(128), - [aux_sym_opcode_token14] = ACTIONS(128), - [aux_sym_opcode_token15] = ACTIONS(128), - [aux_sym_opcode_token16] = ACTIONS(128), - [aux_sym_opcode_token17] = ACTIONS(128), - [aux_sym_opcode_token18] = ACTIONS(128), - [aux_sym_opcode_token19] = ACTIONS(128), - [aux_sym_opcode_token20] = ACTIONS(128), - [aux_sym_opcode_token21] = ACTIONS(128), - [aux_sym_opcode_token22] = ACTIONS(128), - [aux_sym_opcode_token23] = ACTIONS(128), - [aux_sym_opcode_token24] = ACTIONS(128), - [aux_sym_opcode_token25] = ACTIONS(128), - [aux_sym_branch_opcode_token1] = ACTIONS(130), - [aux_sym_branch_opcode_token2] = ACTIONS(130), - [aux_sym_branch_opcode_token3] = ACTIONS(130), - [aux_sym_branch_opcode_token4] = ACTIONS(130), - [aux_sym_branch_opcode_token5] = ACTIONS(130), - [aux_sym_branch_opcode_token6] = ACTIONS(130), - [aux_sym_branch_opcode_token7] = ACTIONS(130), - [aux_sym_branch_opcode_token8] = ACTIONS(130), - [aux_sym_branch_opcode_token9] = ACTIONS(130), + [sym_identifier] = ACTIONS(134), + [aux_sym_ldm_opcode_token1] = ACTIONS(134), + [aux_sym_ldm_opcode_token2] = ACTIONS(134), + [aux_sym_load_opcode_token1] = ACTIONS(134), + [aux_sym_load_opcode_token2] = ACTIONS(134), + [sym_adr_opcode] = ACTIONS(134), + [aux_sym_push_opcode_token1] = ACTIONS(134), + [aux_sym_push_opcode_token2] = ACTIONS(134), + [aux_sym_opcode_token1] = ACTIONS(134), + [aux_sym_opcode_token2] = ACTIONS(134), + [aux_sym_opcode_token3] = ACTIONS(134), + [aux_sym_opcode_token4] = ACTIONS(134), + [aux_sym_opcode_token5] = ACTIONS(134), + [aux_sym_opcode_token6] = ACTIONS(134), + [aux_sym_opcode_token7] = ACTIONS(134), + [aux_sym_opcode_token8] = ACTIONS(134), + [aux_sym_opcode_token9] = ACTIONS(134), + [aux_sym_opcode_token10] = ACTIONS(134), + [aux_sym_opcode_token11] = ACTIONS(134), + [aux_sym_opcode_token12] = ACTIONS(134), + [aux_sym_opcode_token13] = ACTIONS(134), + [aux_sym_opcode_token14] = ACTIONS(134), + [aux_sym_opcode_token15] = ACTIONS(134), + [aux_sym_opcode_token16] = ACTIONS(134), + [aux_sym_opcode_token17] = ACTIONS(134), + [aux_sym_opcode_token18] = ACTIONS(134), + [aux_sym_opcode_token19] = ACTIONS(134), + [aux_sym_opcode_token20] = ACTIONS(134), + [aux_sym_opcode_token21] = ACTIONS(134), + [aux_sym_opcode_token22] = ACTIONS(134), + [aux_sym_opcode_token23] = ACTIONS(134), + [aux_sym_opcode_token24] = ACTIONS(134), + [aux_sym_opcode_token25] = ACTIONS(134), + [aux_sym_branch_opcode_token1] = ACTIONS(136), + [aux_sym_branch_opcode_token2] = ACTIONS(136), + [aux_sym_branch_opcode_token3] = ACTIONS(136), + [aux_sym_branch_opcode_token4] = ACTIONS(136), + [aux_sym_branch_opcode_token5] = ACTIONS(136), + [aux_sym_branch_opcode_token6] = ACTIONS(136), + [aux_sym_branch_opcode_token7] = ACTIONS(136), + [aux_sym_branch_opcode_token8] = ACTIONS(136), + [aux_sym_branch_opcode_token9] = ACTIONS(136), [sym_comment] = ACTIONS(3), }, [24] = { - [sym_identifier] = ACTIONS(132), - [aux_sym_ldm_opcode_token1] = ACTIONS(132), - [aux_sym_ldm_opcode_token2] = ACTIONS(132), - [aux_sym_load_opcode_token1] = ACTIONS(132), - [aux_sym_load_opcode_token2] = ACTIONS(132), - [sym_adr_opcode] = ACTIONS(132), - [aux_sym_push_opcode_token1] = ACTIONS(132), - [aux_sym_push_opcode_token2] = ACTIONS(132), - [aux_sym_opcode_token1] = ACTIONS(132), - [aux_sym_opcode_token2] = ACTIONS(132), - [aux_sym_opcode_token3] = ACTIONS(132), - [aux_sym_opcode_token4] = ACTIONS(132), - [aux_sym_opcode_token5] = ACTIONS(132), - [aux_sym_opcode_token6] = ACTIONS(132), - [aux_sym_opcode_token7] = ACTIONS(132), - [aux_sym_opcode_token8] = ACTIONS(132), - [aux_sym_opcode_token9] = ACTIONS(132), - [aux_sym_opcode_token10] = ACTIONS(132), - [aux_sym_opcode_token11] = ACTIONS(132), - [aux_sym_opcode_token12] = ACTIONS(132), - [aux_sym_opcode_token13] = ACTIONS(132), - [aux_sym_opcode_token14] = ACTIONS(132), - [aux_sym_opcode_token15] = ACTIONS(132), - [aux_sym_opcode_token16] = ACTIONS(132), - [aux_sym_opcode_token17] = ACTIONS(132), - [aux_sym_opcode_token18] = ACTIONS(132), - [aux_sym_opcode_token19] = ACTIONS(132), - [aux_sym_opcode_token20] = ACTIONS(132), - [aux_sym_opcode_token21] = ACTIONS(132), - [aux_sym_opcode_token22] = ACTIONS(132), - [aux_sym_opcode_token23] = ACTIONS(132), - [aux_sym_opcode_token24] = ACTIONS(132), - [aux_sym_opcode_token25] = ACTIONS(132), - [aux_sym_branch_opcode_token1] = ACTIONS(134), - [aux_sym_branch_opcode_token2] = ACTIONS(134), - [aux_sym_branch_opcode_token3] = ACTIONS(134), - [aux_sym_branch_opcode_token4] = ACTIONS(134), - [aux_sym_branch_opcode_token5] = ACTIONS(134), - [aux_sym_branch_opcode_token6] = ACTIONS(134), - [aux_sym_branch_opcode_token7] = ACTIONS(134), - [aux_sym_branch_opcode_token8] = ACTIONS(134), - [aux_sym_branch_opcode_token9] = ACTIONS(134), + [sym_identifier] = ACTIONS(138), + [aux_sym_ldm_opcode_token1] = ACTIONS(138), + [aux_sym_ldm_opcode_token2] = ACTIONS(138), + [aux_sym_load_opcode_token1] = ACTIONS(138), + [aux_sym_load_opcode_token2] = ACTIONS(138), + [sym_adr_opcode] = ACTIONS(138), + [aux_sym_push_opcode_token1] = ACTIONS(138), + [aux_sym_push_opcode_token2] = ACTIONS(138), + [aux_sym_opcode_token1] = ACTIONS(138), + [aux_sym_opcode_token2] = ACTIONS(138), + [aux_sym_opcode_token3] = ACTIONS(138), + [aux_sym_opcode_token4] = ACTIONS(138), + [aux_sym_opcode_token5] = ACTIONS(138), + [aux_sym_opcode_token6] = ACTIONS(138), + [aux_sym_opcode_token7] = ACTIONS(138), + [aux_sym_opcode_token8] = ACTIONS(138), + [aux_sym_opcode_token9] = ACTIONS(138), + [aux_sym_opcode_token10] = ACTIONS(138), + [aux_sym_opcode_token11] = ACTIONS(138), + [aux_sym_opcode_token12] = ACTIONS(138), + [aux_sym_opcode_token13] = ACTIONS(138), + [aux_sym_opcode_token14] = ACTIONS(138), + [aux_sym_opcode_token15] = ACTIONS(138), + [aux_sym_opcode_token16] = ACTIONS(138), + [aux_sym_opcode_token17] = ACTIONS(138), + [aux_sym_opcode_token18] = ACTIONS(138), + [aux_sym_opcode_token19] = ACTIONS(138), + [aux_sym_opcode_token20] = ACTIONS(138), + [aux_sym_opcode_token21] = ACTIONS(138), + [aux_sym_opcode_token22] = ACTIONS(138), + [aux_sym_opcode_token23] = ACTIONS(138), + [aux_sym_opcode_token24] = ACTIONS(138), + [aux_sym_opcode_token25] = ACTIONS(138), + [aux_sym_branch_opcode_token1] = ACTIONS(140), + [aux_sym_branch_opcode_token2] = ACTIONS(140), + [aux_sym_branch_opcode_token3] = ACTIONS(140), + [aux_sym_branch_opcode_token4] = ACTIONS(140), + [aux_sym_branch_opcode_token5] = ACTIONS(140), + [aux_sym_branch_opcode_token6] = ACTIONS(140), + [aux_sym_branch_opcode_token7] = ACTIONS(140), + [aux_sym_branch_opcode_token8] = ACTIONS(140), + [aux_sym_branch_opcode_token9] = ACTIONS(140), [sym_comment] = ACTIONS(3), }, [25] = { - [sym_identifier] = ACTIONS(136), - [aux_sym_ldm_opcode_token1] = ACTIONS(136), - [aux_sym_ldm_opcode_token2] = ACTIONS(136), - [aux_sym_load_opcode_token1] = ACTIONS(136), - [aux_sym_load_opcode_token2] = ACTIONS(136), - [sym_adr_opcode] = ACTIONS(136), - [aux_sym_push_opcode_token1] = ACTIONS(136), - [aux_sym_push_opcode_token2] = ACTIONS(136), - [aux_sym_opcode_token1] = ACTIONS(136), - [aux_sym_opcode_token2] = ACTIONS(136), - [aux_sym_opcode_token3] = ACTIONS(136), - [aux_sym_opcode_token4] = ACTIONS(136), - [aux_sym_opcode_token5] = ACTIONS(136), - [aux_sym_opcode_token6] = ACTIONS(136), - [aux_sym_opcode_token7] = ACTIONS(136), - [aux_sym_opcode_token8] = ACTIONS(136), - [aux_sym_opcode_token9] = ACTIONS(136), - [aux_sym_opcode_token10] = ACTIONS(136), - [aux_sym_opcode_token11] = ACTIONS(136), - [aux_sym_opcode_token12] = ACTIONS(136), - [aux_sym_opcode_token13] = ACTIONS(136), - [aux_sym_opcode_token14] = ACTIONS(136), - [aux_sym_opcode_token15] = ACTIONS(136), - [aux_sym_opcode_token16] = ACTIONS(136), - [aux_sym_opcode_token17] = ACTIONS(136), - [aux_sym_opcode_token18] = ACTIONS(136), - [aux_sym_opcode_token19] = ACTIONS(136), - [aux_sym_opcode_token20] = ACTIONS(136), - [aux_sym_opcode_token21] = ACTIONS(136), - [aux_sym_opcode_token22] = ACTIONS(136), - [aux_sym_opcode_token23] = ACTIONS(136), - [aux_sym_opcode_token24] = ACTIONS(136), - [aux_sym_opcode_token25] = ACTIONS(136), - [aux_sym_branch_opcode_token1] = ACTIONS(138), - [aux_sym_branch_opcode_token2] = ACTIONS(138), - [aux_sym_branch_opcode_token3] = ACTIONS(138), - [aux_sym_branch_opcode_token4] = ACTIONS(138), - [aux_sym_branch_opcode_token5] = ACTIONS(138), - [aux_sym_branch_opcode_token6] = ACTIONS(138), - [aux_sym_branch_opcode_token7] = ACTIONS(138), - [aux_sym_branch_opcode_token8] = ACTIONS(138), - [aux_sym_branch_opcode_token9] = ACTIONS(138), + [sym_identifier] = ACTIONS(142), + [aux_sym_ldm_opcode_token1] = ACTIONS(142), + [aux_sym_ldm_opcode_token2] = ACTIONS(142), + [aux_sym_load_opcode_token1] = ACTIONS(142), + [aux_sym_load_opcode_token2] = ACTIONS(142), + [sym_adr_opcode] = ACTIONS(142), + [aux_sym_push_opcode_token1] = ACTIONS(142), + [aux_sym_push_opcode_token2] = ACTIONS(142), + [aux_sym_opcode_token1] = ACTIONS(142), + [aux_sym_opcode_token2] = ACTIONS(142), + [aux_sym_opcode_token3] = ACTIONS(142), + [aux_sym_opcode_token4] = ACTIONS(142), + [aux_sym_opcode_token5] = ACTIONS(142), + [aux_sym_opcode_token6] = ACTIONS(142), + [aux_sym_opcode_token7] = ACTIONS(142), + [aux_sym_opcode_token8] = ACTIONS(142), + [aux_sym_opcode_token9] = ACTIONS(142), + [aux_sym_opcode_token10] = ACTIONS(142), + [aux_sym_opcode_token11] = ACTIONS(142), + [aux_sym_opcode_token12] = ACTIONS(142), + [aux_sym_opcode_token13] = ACTIONS(142), + [aux_sym_opcode_token14] = ACTIONS(142), + [aux_sym_opcode_token15] = ACTIONS(142), + [aux_sym_opcode_token16] = ACTIONS(142), + [aux_sym_opcode_token17] = ACTIONS(142), + [aux_sym_opcode_token18] = ACTIONS(142), + [aux_sym_opcode_token19] = ACTIONS(142), + [aux_sym_opcode_token20] = ACTIONS(142), + [aux_sym_opcode_token21] = ACTIONS(142), + [aux_sym_opcode_token22] = ACTIONS(142), + [aux_sym_opcode_token23] = ACTIONS(142), + [aux_sym_opcode_token24] = ACTIONS(142), + [aux_sym_opcode_token25] = ACTIONS(142), + [aux_sym_branch_opcode_token1] = ACTIONS(144), + [aux_sym_branch_opcode_token2] = ACTIONS(144), + [aux_sym_branch_opcode_token3] = ACTIONS(144), + [aux_sym_branch_opcode_token4] = ACTIONS(144), + [aux_sym_branch_opcode_token5] = ACTIONS(144), + [aux_sym_branch_opcode_token6] = ACTIONS(144), + [aux_sym_branch_opcode_token7] = ACTIONS(144), + [aux_sym_branch_opcode_token8] = ACTIONS(144), + [aux_sym_branch_opcode_token9] = ACTIONS(144), [sym_comment] = ACTIONS(3), }, [26] = { - [sym_identifier] = ACTIONS(140), - [aux_sym_ldm_opcode_token1] = ACTIONS(140), - [aux_sym_ldm_opcode_token2] = ACTIONS(140), - [aux_sym_load_opcode_token1] = ACTIONS(140), - [aux_sym_load_opcode_token2] = ACTIONS(140), - [sym_adr_opcode] = ACTIONS(140), - [aux_sym_push_opcode_token1] = ACTIONS(140), - [aux_sym_push_opcode_token2] = ACTIONS(140), - [aux_sym_opcode_token1] = ACTIONS(140), - [aux_sym_opcode_token2] = ACTIONS(140), - [aux_sym_opcode_token3] = ACTIONS(140), - [aux_sym_opcode_token4] = ACTIONS(140), - [aux_sym_opcode_token5] = ACTIONS(140), - [aux_sym_opcode_token6] = ACTIONS(140), - [aux_sym_opcode_token7] = ACTIONS(140), - [aux_sym_opcode_token8] = ACTIONS(140), - [aux_sym_opcode_token9] = ACTIONS(140), - [aux_sym_opcode_token10] = ACTIONS(140), - [aux_sym_opcode_token11] = ACTIONS(140), - [aux_sym_opcode_token12] = ACTIONS(140), - [aux_sym_opcode_token13] = ACTIONS(140), - [aux_sym_opcode_token14] = ACTIONS(140), - [aux_sym_opcode_token15] = ACTIONS(140), - [aux_sym_opcode_token16] = ACTIONS(140), - [aux_sym_opcode_token17] = ACTIONS(140), - [aux_sym_opcode_token18] = ACTIONS(140), - [aux_sym_opcode_token19] = ACTIONS(140), - [aux_sym_opcode_token20] = ACTIONS(140), - [aux_sym_opcode_token21] = ACTIONS(140), - [aux_sym_opcode_token22] = ACTIONS(140), - [aux_sym_opcode_token23] = ACTIONS(140), - [aux_sym_opcode_token24] = ACTIONS(140), - [aux_sym_opcode_token25] = ACTIONS(140), - [aux_sym_branch_opcode_token1] = ACTIONS(142), - [aux_sym_branch_opcode_token2] = ACTIONS(142), - [aux_sym_branch_opcode_token3] = ACTIONS(142), - [aux_sym_branch_opcode_token4] = ACTIONS(142), - [aux_sym_branch_opcode_token5] = ACTIONS(142), - [aux_sym_branch_opcode_token6] = ACTIONS(142), - [aux_sym_branch_opcode_token7] = ACTIONS(142), - [aux_sym_branch_opcode_token8] = ACTIONS(142), - [aux_sym_branch_opcode_token9] = ACTIONS(142), + [sym_identifier] = ACTIONS(146), + [aux_sym_ldm_opcode_token1] = ACTIONS(146), + [aux_sym_ldm_opcode_token2] = ACTIONS(146), + [aux_sym_load_opcode_token1] = ACTIONS(146), + [aux_sym_load_opcode_token2] = ACTIONS(146), + [sym_adr_opcode] = ACTIONS(146), + [aux_sym_push_opcode_token1] = ACTIONS(146), + [aux_sym_push_opcode_token2] = ACTIONS(146), + [aux_sym_opcode_token1] = ACTIONS(146), + [aux_sym_opcode_token2] = ACTIONS(146), + [aux_sym_opcode_token3] = ACTIONS(146), + [aux_sym_opcode_token4] = ACTIONS(146), + [aux_sym_opcode_token5] = ACTIONS(146), + [aux_sym_opcode_token6] = ACTIONS(146), + [aux_sym_opcode_token7] = ACTIONS(146), + [aux_sym_opcode_token8] = ACTIONS(146), + [aux_sym_opcode_token9] = ACTIONS(146), + [aux_sym_opcode_token10] = ACTIONS(146), + [aux_sym_opcode_token11] = ACTIONS(146), + [aux_sym_opcode_token12] = ACTIONS(146), + [aux_sym_opcode_token13] = ACTIONS(146), + [aux_sym_opcode_token14] = ACTIONS(146), + [aux_sym_opcode_token15] = ACTIONS(146), + [aux_sym_opcode_token16] = ACTIONS(146), + [aux_sym_opcode_token17] = ACTIONS(146), + [aux_sym_opcode_token18] = ACTIONS(146), + [aux_sym_opcode_token19] = ACTIONS(146), + [aux_sym_opcode_token20] = ACTIONS(146), + [aux_sym_opcode_token21] = ACTIONS(146), + [aux_sym_opcode_token22] = ACTIONS(146), + [aux_sym_opcode_token23] = ACTIONS(146), + [aux_sym_opcode_token24] = ACTIONS(146), + [aux_sym_opcode_token25] = ACTIONS(146), + [aux_sym_branch_opcode_token1] = ACTIONS(148), + [aux_sym_branch_opcode_token2] = ACTIONS(148), + [aux_sym_branch_opcode_token3] = ACTIONS(148), + [aux_sym_branch_opcode_token4] = ACTIONS(148), + [aux_sym_branch_opcode_token5] = ACTIONS(148), + [aux_sym_branch_opcode_token6] = ACTIONS(148), + [aux_sym_branch_opcode_token7] = ACTIONS(148), + [aux_sym_branch_opcode_token8] = ACTIONS(148), + [aux_sym_branch_opcode_token9] = ACTIONS(148), [sym_comment] = ACTIONS(3), }, [27] = { - [sym_identifier] = ACTIONS(144), - [aux_sym_ldm_opcode_token1] = ACTIONS(144), - [aux_sym_ldm_opcode_token2] = ACTIONS(144), - [aux_sym_load_opcode_token1] = ACTIONS(144), - [aux_sym_load_opcode_token2] = ACTIONS(144), - [sym_adr_opcode] = ACTIONS(144), - [aux_sym_push_opcode_token1] = ACTIONS(144), - [aux_sym_push_opcode_token2] = ACTIONS(144), - [aux_sym_opcode_token1] = ACTIONS(144), - [aux_sym_opcode_token2] = ACTIONS(144), - [aux_sym_opcode_token3] = ACTIONS(144), - [aux_sym_opcode_token4] = ACTIONS(144), - [aux_sym_opcode_token5] = ACTIONS(144), - [aux_sym_opcode_token6] = ACTIONS(144), - [aux_sym_opcode_token7] = ACTIONS(144), - [aux_sym_opcode_token8] = ACTIONS(144), - [aux_sym_opcode_token9] = ACTIONS(144), - [aux_sym_opcode_token10] = ACTIONS(144), - [aux_sym_opcode_token11] = ACTIONS(144), - [aux_sym_opcode_token12] = ACTIONS(144), - [aux_sym_opcode_token13] = ACTIONS(144), - [aux_sym_opcode_token14] = ACTIONS(144), - [aux_sym_opcode_token15] = ACTIONS(144), - [aux_sym_opcode_token16] = ACTIONS(144), - [aux_sym_opcode_token17] = ACTIONS(144), - [aux_sym_opcode_token18] = ACTIONS(144), - [aux_sym_opcode_token19] = ACTIONS(144), - [aux_sym_opcode_token20] = ACTIONS(144), - [aux_sym_opcode_token21] = ACTIONS(144), - [aux_sym_opcode_token22] = ACTIONS(144), - [aux_sym_opcode_token23] = ACTIONS(144), - [aux_sym_opcode_token24] = ACTIONS(144), - [aux_sym_opcode_token25] = ACTIONS(144), - [aux_sym_branch_opcode_token1] = ACTIONS(146), - [aux_sym_branch_opcode_token2] = ACTIONS(146), - [aux_sym_branch_opcode_token3] = ACTIONS(146), - [aux_sym_branch_opcode_token4] = ACTIONS(146), - [aux_sym_branch_opcode_token5] = ACTIONS(146), - [aux_sym_branch_opcode_token6] = ACTIONS(146), - [aux_sym_branch_opcode_token7] = ACTIONS(146), - [aux_sym_branch_opcode_token8] = ACTIONS(146), - [aux_sym_branch_opcode_token9] = ACTIONS(146), + [sym_identifier] = ACTIONS(150), + [aux_sym_ldm_opcode_token1] = ACTIONS(150), + [aux_sym_ldm_opcode_token2] = ACTIONS(150), + [aux_sym_load_opcode_token1] = ACTIONS(150), + [aux_sym_load_opcode_token2] = ACTIONS(150), + [sym_adr_opcode] = ACTIONS(150), + [aux_sym_push_opcode_token1] = ACTIONS(150), + [aux_sym_push_opcode_token2] = ACTIONS(150), + [aux_sym_opcode_token1] = ACTIONS(150), + [aux_sym_opcode_token2] = ACTIONS(150), + [aux_sym_opcode_token3] = ACTIONS(150), + [aux_sym_opcode_token4] = ACTIONS(150), + [aux_sym_opcode_token5] = ACTIONS(150), + [aux_sym_opcode_token6] = ACTIONS(150), + [aux_sym_opcode_token7] = ACTIONS(150), + [aux_sym_opcode_token8] = ACTIONS(150), + [aux_sym_opcode_token9] = ACTIONS(150), + [aux_sym_opcode_token10] = ACTIONS(150), + [aux_sym_opcode_token11] = ACTIONS(150), + [aux_sym_opcode_token12] = ACTIONS(150), + [aux_sym_opcode_token13] = ACTIONS(150), + [aux_sym_opcode_token14] = ACTIONS(150), + [aux_sym_opcode_token15] = ACTIONS(150), + [aux_sym_opcode_token16] = ACTIONS(150), + [aux_sym_opcode_token17] = ACTIONS(150), + [aux_sym_opcode_token18] = ACTIONS(150), + [aux_sym_opcode_token19] = ACTIONS(150), + [aux_sym_opcode_token20] = ACTIONS(150), + [aux_sym_opcode_token21] = ACTIONS(150), + [aux_sym_opcode_token22] = ACTIONS(150), + [aux_sym_opcode_token23] = ACTIONS(150), + [aux_sym_opcode_token24] = ACTIONS(150), + [aux_sym_opcode_token25] = ACTIONS(150), + [aux_sym_branch_opcode_token1] = ACTIONS(152), + [aux_sym_branch_opcode_token2] = ACTIONS(152), + [aux_sym_branch_opcode_token3] = ACTIONS(152), + [aux_sym_branch_opcode_token4] = ACTIONS(152), + [aux_sym_branch_opcode_token5] = ACTIONS(152), + [aux_sym_branch_opcode_token6] = ACTIONS(152), + [aux_sym_branch_opcode_token7] = ACTIONS(152), + [aux_sym_branch_opcode_token8] = ACTIONS(152), + [aux_sym_branch_opcode_token9] = ACTIONS(152), [sym_comment] = ACTIONS(3), }, [28] = { - [sym_identifier] = ACTIONS(148), - [aux_sym_ldm_opcode_token1] = ACTIONS(148), - [aux_sym_ldm_opcode_token2] = ACTIONS(148), - [aux_sym_load_opcode_token1] = ACTIONS(148), - [aux_sym_load_opcode_token2] = ACTIONS(148), - [sym_adr_opcode] = ACTIONS(148), - [aux_sym_push_opcode_token1] = ACTIONS(148), - [aux_sym_push_opcode_token2] = ACTIONS(148), - [aux_sym_opcode_token1] = ACTIONS(148), - [aux_sym_opcode_token2] = ACTIONS(148), - [aux_sym_opcode_token3] = ACTIONS(148), - [aux_sym_opcode_token4] = ACTIONS(148), - [aux_sym_opcode_token5] = ACTIONS(148), - [aux_sym_opcode_token6] = ACTIONS(148), - [aux_sym_opcode_token7] = ACTIONS(148), - [aux_sym_opcode_token8] = ACTIONS(148), - [aux_sym_opcode_token9] = ACTIONS(148), - [aux_sym_opcode_token10] = ACTIONS(148), - [aux_sym_opcode_token11] = ACTIONS(148), - [aux_sym_opcode_token12] = ACTIONS(148), - [aux_sym_opcode_token13] = ACTIONS(148), - [aux_sym_opcode_token14] = ACTIONS(148), - [aux_sym_opcode_token15] = ACTIONS(148), - [aux_sym_opcode_token16] = ACTIONS(148), - [aux_sym_opcode_token17] = ACTIONS(148), - [aux_sym_opcode_token18] = ACTIONS(148), - [aux_sym_opcode_token19] = ACTIONS(148), - [aux_sym_opcode_token20] = ACTIONS(148), - [aux_sym_opcode_token21] = ACTIONS(148), - [aux_sym_opcode_token22] = ACTIONS(148), - [aux_sym_opcode_token23] = ACTIONS(148), - [aux_sym_opcode_token24] = ACTIONS(148), - [aux_sym_opcode_token25] = ACTIONS(148), - [aux_sym_branch_opcode_token1] = ACTIONS(150), - [aux_sym_branch_opcode_token2] = ACTIONS(150), - [aux_sym_branch_opcode_token3] = ACTIONS(150), - [aux_sym_branch_opcode_token4] = ACTIONS(150), - [aux_sym_branch_opcode_token5] = ACTIONS(150), - [aux_sym_branch_opcode_token6] = ACTIONS(150), - [aux_sym_branch_opcode_token7] = ACTIONS(150), - [aux_sym_branch_opcode_token8] = ACTIONS(150), - [aux_sym_branch_opcode_token9] = ACTIONS(150), + [sym_identifier] = ACTIONS(72), + [aux_sym_ldm_opcode_token1] = ACTIONS(72), + [aux_sym_ldm_opcode_token2] = ACTIONS(72), + [aux_sym_load_opcode_token1] = ACTIONS(72), + [aux_sym_load_opcode_token2] = ACTIONS(72), + [sym_adr_opcode] = ACTIONS(72), + [aux_sym_push_opcode_token1] = ACTIONS(72), + [aux_sym_push_opcode_token2] = ACTIONS(72), + [aux_sym_opcode_token1] = ACTIONS(72), + [aux_sym_opcode_token2] = ACTIONS(72), + [aux_sym_opcode_token3] = ACTIONS(72), + [aux_sym_opcode_token4] = ACTIONS(72), + [aux_sym_opcode_token5] = ACTIONS(72), + [aux_sym_opcode_token6] = ACTIONS(72), + [aux_sym_opcode_token7] = ACTIONS(72), + [aux_sym_opcode_token8] = ACTIONS(72), + [aux_sym_opcode_token9] = ACTIONS(72), + [aux_sym_opcode_token10] = ACTIONS(72), + [aux_sym_opcode_token11] = ACTIONS(72), + [aux_sym_opcode_token12] = ACTIONS(72), + [aux_sym_opcode_token13] = ACTIONS(72), + [aux_sym_opcode_token14] = ACTIONS(72), + [aux_sym_opcode_token15] = ACTIONS(72), + [aux_sym_opcode_token16] = ACTIONS(72), + [aux_sym_opcode_token17] = ACTIONS(72), + [aux_sym_opcode_token18] = ACTIONS(72), + [aux_sym_opcode_token19] = ACTIONS(72), + [aux_sym_opcode_token20] = ACTIONS(72), + [aux_sym_opcode_token21] = ACTIONS(72), + [aux_sym_opcode_token22] = ACTIONS(72), + [aux_sym_opcode_token23] = ACTIONS(72), + [aux_sym_opcode_token24] = ACTIONS(72), + [aux_sym_opcode_token25] = ACTIONS(72), + [aux_sym_branch_opcode_token1] = ACTIONS(76), + [aux_sym_branch_opcode_token2] = ACTIONS(76), + [aux_sym_branch_opcode_token3] = ACTIONS(76), + [aux_sym_branch_opcode_token4] = ACTIONS(76), + [aux_sym_branch_opcode_token5] = ACTIONS(76), + [aux_sym_branch_opcode_token6] = ACTIONS(76), + [aux_sym_branch_opcode_token7] = ACTIONS(76), + [aux_sym_branch_opcode_token8] = ACTIONS(76), + [aux_sym_branch_opcode_token9] = ACTIONS(76), [sym_comment] = ACTIONS(3), }, [29] = { - [sym_identifier] = ACTIONS(152), - [aux_sym_ldm_opcode_token1] = ACTIONS(152), - [aux_sym_ldm_opcode_token2] = ACTIONS(152), - [aux_sym_load_opcode_token1] = ACTIONS(152), - [aux_sym_load_opcode_token2] = ACTIONS(152), - [sym_adr_opcode] = ACTIONS(152), - [aux_sym_push_opcode_token1] = ACTIONS(152), - [aux_sym_push_opcode_token2] = ACTIONS(152), - [aux_sym_opcode_token1] = ACTIONS(152), - [aux_sym_opcode_token2] = ACTIONS(152), - [aux_sym_opcode_token3] = ACTIONS(152), - [aux_sym_opcode_token4] = ACTIONS(152), - [aux_sym_opcode_token5] = ACTIONS(152), - [aux_sym_opcode_token6] = ACTIONS(152), - [aux_sym_opcode_token7] = ACTIONS(152), - [aux_sym_opcode_token8] = ACTIONS(152), - [aux_sym_opcode_token9] = ACTIONS(152), - [aux_sym_opcode_token10] = ACTIONS(152), - [aux_sym_opcode_token11] = ACTIONS(152), - [aux_sym_opcode_token12] = ACTIONS(152), - [aux_sym_opcode_token13] = ACTIONS(152), - [aux_sym_opcode_token14] = ACTIONS(152), - [aux_sym_opcode_token15] = ACTIONS(152), - [aux_sym_opcode_token16] = ACTIONS(152), - [aux_sym_opcode_token17] = ACTIONS(152), - [aux_sym_opcode_token18] = ACTIONS(152), - [aux_sym_opcode_token19] = ACTIONS(152), - [aux_sym_opcode_token20] = ACTIONS(152), - [aux_sym_opcode_token21] = ACTIONS(152), - [aux_sym_opcode_token22] = ACTIONS(152), - [aux_sym_opcode_token23] = ACTIONS(152), - [aux_sym_opcode_token24] = ACTIONS(152), - [aux_sym_opcode_token25] = ACTIONS(152), - [aux_sym_branch_opcode_token1] = ACTIONS(154), - [aux_sym_branch_opcode_token2] = ACTIONS(154), - [aux_sym_branch_opcode_token3] = ACTIONS(154), - [aux_sym_branch_opcode_token4] = ACTIONS(154), - [aux_sym_branch_opcode_token5] = ACTIONS(154), - [aux_sym_branch_opcode_token6] = ACTIONS(154), - [aux_sym_branch_opcode_token7] = ACTIONS(154), - [aux_sym_branch_opcode_token8] = ACTIONS(154), - [aux_sym_branch_opcode_token9] = ACTIONS(154), + [sym_identifier] = ACTIONS(154), + [aux_sym_ldm_opcode_token1] = ACTIONS(154), + [aux_sym_ldm_opcode_token2] = ACTIONS(154), + [aux_sym_load_opcode_token1] = ACTIONS(154), + [aux_sym_load_opcode_token2] = ACTIONS(154), + [sym_adr_opcode] = ACTIONS(154), + [aux_sym_push_opcode_token1] = ACTIONS(154), + [aux_sym_push_opcode_token2] = ACTIONS(154), + [aux_sym_opcode_token1] = ACTIONS(154), + [aux_sym_opcode_token2] = ACTIONS(154), + [aux_sym_opcode_token3] = ACTIONS(154), + [aux_sym_opcode_token4] = ACTIONS(154), + [aux_sym_opcode_token5] = ACTIONS(154), + [aux_sym_opcode_token6] = ACTIONS(154), + [aux_sym_opcode_token7] = ACTIONS(154), + [aux_sym_opcode_token8] = ACTIONS(154), + [aux_sym_opcode_token9] = ACTIONS(154), + [aux_sym_opcode_token10] = ACTIONS(154), + [aux_sym_opcode_token11] = ACTIONS(154), + [aux_sym_opcode_token12] = ACTIONS(154), + [aux_sym_opcode_token13] = ACTIONS(154), + [aux_sym_opcode_token14] = ACTIONS(154), + [aux_sym_opcode_token15] = ACTIONS(154), + [aux_sym_opcode_token16] = ACTIONS(154), + [aux_sym_opcode_token17] = ACTIONS(154), + [aux_sym_opcode_token18] = ACTIONS(154), + [aux_sym_opcode_token19] = ACTIONS(154), + [aux_sym_opcode_token20] = ACTIONS(154), + [aux_sym_opcode_token21] = ACTIONS(154), + [aux_sym_opcode_token22] = ACTIONS(154), + [aux_sym_opcode_token23] = ACTIONS(154), + [aux_sym_opcode_token24] = ACTIONS(154), + [aux_sym_opcode_token25] = ACTIONS(154), + [aux_sym_branch_opcode_token1] = ACTIONS(156), + [aux_sym_branch_opcode_token2] = ACTIONS(156), + [aux_sym_branch_opcode_token3] = ACTIONS(156), + [aux_sym_branch_opcode_token4] = ACTIONS(156), + [aux_sym_branch_opcode_token5] = ACTIONS(156), + [aux_sym_branch_opcode_token6] = ACTIONS(156), + [aux_sym_branch_opcode_token7] = ACTIONS(156), + [aux_sym_branch_opcode_token8] = ACTIONS(156), + [aux_sym_branch_opcode_token9] = ACTIONS(156), [sym_comment] = ACTIONS(3), }, [30] = { - [sym_identifier] = ACTIONS(156), - [aux_sym_ldm_opcode_token1] = ACTIONS(156), - [aux_sym_ldm_opcode_token2] = ACTIONS(156), - [aux_sym_load_opcode_token1] = ACTIONS(156), - [aux_sym_load_opcode_token2] = ACTIONS(156), - [sym_adr_opcode] = ACTIONS(156), - [aux_sym_push_opcode_token1] = ACTIONS(156), - [aux_sym_push_opcode_token2] = ACTIONS(156), - [aux_sym_opcode_token1] = ACTIONS(156), - [aux_sym_opcode_token2] = ACTIONS(156), - [aux_sym_opcode_token3] = ACTIONS(156), - [aux_sym_opcode_token4] = ACTIONS(156), - [aux_sym_opcode_token5] = ACTIONS(156), - [aux_sym_opcode_token6] = ACTIONS(156), - [aux_sym_opcode_token7] = ACTIONS(156), - [aux_sym_opcode_token8] = ACTIONS(156), - [aux_sym_opcode_token9] = ACTIONS(156), - [aux_sym_opcode_token10] = ACTIONS(156), - [aux_sym_opcode_token11] = ACTIONS(156), - [aux_sym_opcode_token12] = ACTIONS(156), - [aux_sym_opcode_token13] = ACTIONS(156), - [aux_sym_opcode_token14] = ACTIONS(156), - [aux_sym_opcode_token15] = ACTIONS(156), - [aux_sym_opcode_token16] = ACTIONS(156), - [aux_sym_opcode_token17] = ACTIONS(156), - [aux_sym_opcode_token18] = ACTIONS(156), - [aux_sym_opcode_token19] = ACTIONS(156), - [aux_sym_opcode_token20] = ACTIONS(156), - [aux_sym_opcode_token21] = ACTIONS(156), - [aux_sym_opcode_token22] = ACTIONS(156), - [aux_sym_opcode_token23] = ACTIONS(156), - [aux_sym_opcode_token24] = ACTIONS(156), - [aux_sym_opcode_token25] = ACTIONS(156), - [aux_sym_branch_opcode_token1] = ACTIONS(158), - [aux_sym_branch_opcode_token2] = ACTIONS(158), - [aux_sym_branch_opcode_token3] = ACTIONS(158), - [aux_sym_branch_opcode_token4] = ACTIONS(158), - [aux_sym_branch_opcode_token5] = ACTIONS(158), - [aux_sym_branch_opcode_token6] = ACTIONS(158), - [aux_sym_branch_opcode_token7] = ACTIONS(158), - [aux_sym_branch_opcode_token8] = ACTIONS(158), - [aux_sym_branch_opcode_token9] = ACTIONS(158), + [sym_identifier] = ACTIONS(158), + [aux_sym_ldm_opcode_token1] = ACTIONS(158), + [aux_sym_ldm_opcode_token2] = ACTIONS(158), + [aux_sym_load_opcode_token1] = ACTIONS(158), + [aux_sym_load_opcode_token2] = ACTIONS(158), + [sym_adr_opcode] = ACTIONS(158), + [aux_sym_push_opcode_token1] = ACTIONS(158), + [aux_sym_push_opcode_token2] = ACTIONS(158), + [aux_sym_opcode_token1] = ACTIONS(158), + [aux_sym_opcode_token2] = ACTIONS(158), + [aux_sym_opcode_token3] = ACTIONS(158), + [aux_sym_opcode_token4] = ACTIONS(158), + [aux_sym_opcode_token5] = ACTIONS(158), + [aux_sym_opcode_token6] = ACTIONS(158), + [aux_sym_opcode_token7] = ACTIONS(158), + [aux_sym_opcode_token8] = ACTIONS(158), + [aux_sym_opcode_token9] = ACTIONS(158), + [aux_sym_opcode_token10] = ACTIONS(158), + [aux_sym_opcode_token11] = ACTIONS(158), + [aux_sym_opcode_token12] = ACTIONS(158), + [aux_sym_opcode_token13] = ACTIONS(158), + [aux_sym_opcode_token14] = ACTIONS(158), + [aux_sym_opcode_token15] = ACTIONS(158), + [aux_sym_opcode_token16] = ACTIONS(158), + [aux_sym_opcode_token17] = ACTIONS(158), + [aux_sym_opcode_token18] = ACTIONS(158), + [aux_sym_opcode_token19] = ACTIONS(158), + [aux_sym_opcode_token20] = ACTIONS(158), + [aux_sym_opcode_token21] = ACTIONS(158), + [aux_sym_opcode_token22] = ACTIONS(158), + [aux_sym_opcode_token23] = ACTIONS(158), + [aux_sym_opcode_token24] = ACTIONS(158), + [aux_sym_opcode_token25] = ACTIONS(158), + [aux_sym_branch_opcode_token1] = ACTIONS(160), + [aux_sym_branch_opcode_token2] = ACTIONS(160), + [aux_sym_branch_opcode_token3] = ACTIONS(160), + [aux_sym_branch_opcode_token4] = ACTIONS(160), + [aux_sym_branch_opcode_token5] = ACTIONS(160), + [aux_sym_branch_opcode_token6] = ACTIONS(160), + [aux_sym_branch_opcode_token7] = ACTIONS(160), + [aux_sym_branch_opcode_token8] = ACTIONS(160), + [aux_sym_branch_opcode_token9] = ACTIONS(160), [sym_comment] = ACTIONS(3), }, [31] = { - [sym_identifier] = ACTIONS(160), - [aux_sym_ldm_opcode_token1] = ACTIONS(160), - [aux_sym_ldm_opcode_token2] = ACTIONS(160), - [aux_sym_load_opcode_token1] = ACTIONS(160), - [aux_sym_load_opcode_token2] = ACTIONS(160), - [sym_adr_opcode] = ACTIONS(160), - [aux_sym_push_opcode_token1] = ACTIONS(160), - [aux_sym_push_opcode_token2] = ACTIONS(160), - [aux_sym_opcode_token1] = ACTIONS(160), - [aux_sym_opcode_token2] = ACTIONS(160), - [aux_sym_opcode_token3] = ACTIONS(160), - [aux_sym_opcode_token4] = ACTIONS(160), - [aux_sym_opcode_token5] = ACTIONS(160), - [aux_sym_opcode_token6] = ACTIONS(160), - [aux_sym_opcode_token7] = ACTIONS(160), - [aux_sym_opcode_token8] = ACTIONS(160), - [aux_sym_opcode_token9] = ACTIONS(160), - [aux_sym_opcode_token10] = ACTIONS(160), - [aux_sym_opcode_token11] = ACTIONS(160), - [aux_sym_opcode_token12] = ACTIONS(160), - [aux_sym_opcode_token13] = ACTIONS(160), - [aux_sym_opcode_token14] = ACTIONS(160), - [aux_sym_opcode_token15] = ACTIONS(160), - [aux_sym_opcode_token16] = ACTIONS(160), - [aux_sym_opcode_token17] = ACTIONS(160), - [aux_sym_opcode_token18] = ACTIONS(160), - [aux_sym_opcode_token19] = ACTIONS(160), - [aux_sym_opcode_token20] = ACTIONS(160), - [aux_sym_opcode_token21] = ACTIONS(160), - [aux_sym_opcode_token22] = ACTIONS(160), - [aux_sym_opcode_token23] = ACTIONS(160), - [aux_sym_opcode_token24] = ACTIONS(160), - [aux_sym_opcode_token25] = ACTIONS(160), - [aux_sym_branch_opcode_token1] = ACTIONS(162), - [aux_sym_branch_opcode_token2] = ACTIONS(162), - [aux_sym_branch_opcode_token3] = ACTIONS(162), - [aux_sym_branch_opcode_token4] = ACTIONS(162), - [aux_sym_branch_opcode_token5] = ACTIONS(162), - [aux_sym_branch_opcode_token6] = ACTIONS(162), - [aux_sym_branch_opcode_token7] = ACTIONS(162), - [aux_sym_branch_opcode_token8] = ACTIONS(162), - [aux_sym_branch_opcode_token9] = ACTIONS(162), + [sym_identifier] = ACTIONS(162), + [aux_sym_ldm_opcode_token1] = ACTIONS(162), + [aux_sym_ldm_opcode_token2] = ACTIONS(162), + [aux_sym_load_opcode_token1] = ACTIONS(162), + [aux_sym_load_opcode_token2] = ACTIONS(162), + [sym_adr_opcode] = ACTIONS(162), + [aux_sym_push_opcode_token1] = ACTIONS(162), + [aux_sym_push_opcode_token2] = ACTIONS(162), + [aux_sym_opcode_token1] = ACTIONS(162), + [aux_sym_opcode_token2] = ACTIONS(162), + [aux_sym_opcode_token3] = ACTIONS(162), + [aux_sym_opcode_token4] = ACTIONS(162), + [aux_sym_opcode_token5] = ACTIONS(162), + [aux_sym_opcode_token6] = ACTIONS(162), + [aux_sym_opcode_token7] = ACTIONS(162), + [aux_sym_opcode_token8] = ACTIONS(162), + [aux_sym_opcode_token9] = ACTIONS(162), + [aux_sym_opcode_token10] = ACTIONS(162), + [aux_sym_opcode_token11] = ACTIONS(162), + [aux_sym_opcode_token12] = ACTIONS(162), + [aux_sym_opcode_token13] = ACTIONS(162), + [aux_sym_opcode_token14] = ACTIONS(162), + [aux_sym_opcode_token15] = ACTIONS(162), + [aux_sym_opcode_token16] = ACTIONS(162), + [aux_sym_opcode_token17] = ACTIONS(162), + [aux_sym_opcode_token18] = ACTIONS(162), + [aux_sym_opcode_token19] = ACTIONS(162), + [aux_sym_opcode_token20] = ACTIONS(162), + [aux_sym_opcode_token21] = ACTIONS(162), + [aux_sym_opcode_token22] = ACTIONS(162), + [aux_sym_opcode_token23] = ACTIONS(162), + [aux_sym_opcode_token24] = ACTIONS(162), + [aux_sym_opcode_token25] = ACTIONS(162), + [aux_sym_branch_opcode_token1] = ACTIONS(164), + [aux_sym_branch_opcode_token2] = ACTIONS(164), + [aux_sym_branch_opcode_token3] = ACTIONS(164), + [aux_sym_branch_opcode_token4] = ACTIONS(164), + [aux_sym_branch_opcode_token5] = ACTIONS(164), + [aux_sym_branch_opcode_token6] = ACTIONS(164), + [aux_sym_branch_opcode_token7] = ACTIONS(164), + [aux_sym_branch_opcode_token8] = ACTIONS(164), + [aux_sym_branch_opcode_token9] = ACTIONS(164), [sym_comment] = ACTIONS(3), }, [32] = { - [sym_identifier] = ACTIONS(164), - [aux_sym_ldm_opcode_token1] = ACTIONS(164), - [aux_sym_ldm_opcode_token2] = ACTIONS(164), - [aux_sym_load_opcode_token1] = ACTIONS(164), - [aux_sym_load_opcode_token2] = ACTIONS(164), - [sym_adr_opcode] = ACTIONS(164), - [aux_sym_push_opcode_token1] = ACTIONS(164), - [aux_sym_push_opcode_token2] = ACTIONS(164), - [aux_sym_opcode_token1] = ACTIONS(164), - [aux_sym_opcode_token2] = ACTIONS(164), - [aux_sym_opcode_token3] = ACTIONS(164), - [aux_sym_opcode_token4] = ACTIONS(164), - [aux_sym_opcode_token5] = ACTIONS(164), - [aux_sym_opcode_token6] = ACTIONS(164), - [aux_sym_opcode_token7] = ACTIONS(164), - [aux_sym_opcode_token8] = ACTIONS(164), - [aux_sym_opcode_token9] = ACTIONS(164), - [aux_sym_opcode_token10] = ACTIONS(164), - [aux_sym_opcode_token11] = ACTIONS(164), - [aux_sym_opcode_token12] = ACTIONS(164), - [aux_sym_opcode_token13] = ACTIONS(164), - [aux_sym_opcode_token14] = ACTIONS(164), - [aux_sym_opcode_token15] = ACTIONS(164), - [aux_sym_opcode_token16] = ACTIONS(164), - [aux_sym_opcode_token17] = ACTIONS(164), - [aux_sym_opcode_token18] = ACTIONS(164), - [aux_sym_opcode_token19] = ACTIONS(164), - [aux_sym_opcode_token20] = ACTIONS(164), - [aux_sym_opcode_token21] = ACTIONS(164), - [aux_sym_opcode_token22] = ACTIONS(164), - [aux_sym_opcode_token23] = ACTIONS(164), - [aux_sym_opcode_token24] = ACTIONS(164), - [aux_sym_opcode_token25] = ACTIONS(164), - [aux_sym_branch_opcode_token1] = ACTIONS(166), - [aux_sym_branch_opcode_token2] = ACTIONS(166), - [aux_sym_branch_opcode_token3] = ACTIONS(166), - [aux_sym_branch_opcode_token4] = ACTIONS(166), - [aux_sym_branch_opcode_token5] = ACTIONS(166), - [aux_sym_branch_opcode_token6] = ACTIONS(166), - [aux_sym_branch_opcode_token7] = ACTIONS(166), - [aux_sym_branch_opcode_token8] = ACTIONS(166), - [aux_sym_branch_opcode_token9] = ACTIONS(166), + [sym_identifier] = ACTIONS(166), + [aux_sym_ldm_opcode_token1] = ACTIONS(166), + [aux_sym_ldm_opcode_token2] = ACTIONS(166), + [aux_sym_load_opcode_token1] = ACTIONS(166), + [aux_sym_load_opcode_token2] = ACTIONS(166), + [sym_adr_opcode] = ACTIONS(166), + [aux_sym_push_opcode_token1] = ACTIONS(166), + [aux_sym_push_opcode_token2] = ACTIONS(166), + [aux_sym_opcode_token1] = ACTIONS(166), + [aux_sym_opcode_token2] = ACTIONS(166), + [aux_sym_opcode_token3] = ACTIONS(166), + [aux_sym_opcode_token4] = ACTIONS(166), + [aux_sym_opcode_token5] = ACTIONS(166), + [aux_sym_opcode_token6] = ACTIONS(166), + [aux_sym_opcode_token7] = ACTIONS(166), + [aux_sym_opcode_token8] = ACTIONS(166), + [aux_sym_opcode_token9] = ACTIONS(166), + [aux_sym_opcode_token10] = ACTIONS(166), + [aux_sym_opcode_token11] = ACTIONS(166), + [aux_sym_opcode_token12] = ACTIONS(166), + [aux_sym_opcode_token13] = ACTIONS(166), + [aux_sym_opcode_token14] = ACTIONS(166), + [aux_sym_opcode_token15] = ACTIONS(166), + [aux_sym_opcode_token16] = ACTIONS(166), + [aux_sym_opcode_token17] = ACTIONS(166), + [aux_sym_opcode_token18] = ACTIONS(166), + [aux_sym_opcode_token19] = ACTIONS(166), + [aux_sym_opcode_token20] = ACTIONS(166), + [aux_sym_opcode_token21] = ACTIONS(166), + [aux_sym_opcode_token22] = ACTIONS(166), + [aux_sym_opcode_token23] = ACTIONS(166), + [aux_sym_opcode_token24] = ACTIONS(166), + [aux_sym_opcode_token25] = ACTIONS(166), + [aux_sym_branch_opcode_token1] = ACTIONS(168), + [aux_sym_branch_opcode_token2] = ACTIONS(168), + [aux_sym_branch_opcode_token3] = ACTIONS(168), + [aux_sym_branch_opcode_token4] = ACTIONS(168), + [aux_sym_branch_opcode_token5] = ACTIONS(168), + [aux_sym_branch_opcode_token6] = ACTIONS(168), + [aux_sym_branch_opcode_token7] = ACTIONS(168), + [aux_sym_branch_opcode_token8] = ACTIONS(168), + [aux_sym_branch_opcode_token9] = ACTIONS(168), [sym_comment] = ACTIONS(3), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 6, + [0] = 7, ACTIONS(3), 1, sym_comment, ACTIONS(7), 1, sym_identifier, - ACTIONS(168), 1, - ts_builtin_sym_end, + ACTIONS(11), 1, + anon_sym_POUNDinclude, ACTIONS(170), 1, + ts_builtin_sym_end, + ACTIONS(172), 1, sym_directive, STATE(2), 1, sym_label, - STATE(34), 2, + STATE(34), 3, aux_sym__statement, sym_function_definition, - [20] = 6, + sym_include_statement, + [24] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(172), 1, - ts_builtin_sym_end, ACTIONS(174), 1, + ts_builtin_sym_end, + ACTIONS(176), 1, sym_identifier, - ACTIONS(177), 1, + ACTIONS(179), 1, sym_directive, + ACTIONS(182), 1, + anon_sym_POUNDinclude, STATE(2), 1, sym_label, - STATE(34), 2, + STATE(34), 3, aux_sym__statement, sym_function_definition, - [40] = 7, + sym_include_statement, + [48] = 7, ACTIONS(3), 1, sym_comment, - ACTIONS(180), 1, + ACTIONS(185), 1, sym_identifier, - ACTIONS(182), 1, + ACTIONS(187), 1, anon_sym_COMMA, - ACTIONS(184), 1, + ACTIONS(189), 1, anon_sym_RBRACK, - ACTIONS(186), 1, + ACTIONS(191), 1, sym_register, - ACTIONS(188), 1, + ACTIONS(193), 1, sym_constant, - STATE(65), 1, + STATE(70), 1, sym_offset_statement, - [62] = 6, + [70] = 6, ACTIONS(3), 1, sym_comment, - ACTIONS(180), 1, + ACTIONS(185), 1, sym_identifier, - ACTIONS(190), 1, + ACTIONS(195), 1, anon_sym_RBRACK, - ACTIONS(192), 1, + ACTIONS(197), 1, sym_register, - ACTIONS(194), 1, + ACTIONS(199), 1, sym_constant, - STATE(74), 1, + STATE(79), 1, sym_offset_statement, - [81] = 4, + [89] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(196), 1, - anon_sym_RBRACE, - ACTIONS(198), 1, - sym_register, - STATE(38), 1, - sym_reg_list, - [94] = 4, + ACTIONS(201), 4, + ts_builtin_sym_end, + sym_directive, + anon_sym_POUNDinclude, + sym_identifier, + [99] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(203), 4, + ts_builtin_sym_end, + sym_directive, + anon_sym_POUNDinclude, + sym_identifier, + [109] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(205), 4, + ts_builtin_sym_end, + sym_directive, + anon_sym_POUNDinclude, + sym_identifier, + [119] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(207), 4, + ts_builtin_sym_end, + sym_directive, + anon_sym_POUNDinclude, + sym_identifier, + [129] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(209), 4, + ts_builtin_sym_end, + sym_directive, + anon_sym_POUNDinclude, + sym_identifier, + [139] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(200), 1, + ACTIONS(211), 1, anon_sym_COMMA, - ACTIONS(202), 1, + ACTIONS(213), 1, anon_sym_RBRACE, - STATE(45), 1, + STATE(50), 1, aux_sym_ldm_statement_repeat1, - [107] = 3, + [152] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(206), 1, + ACTIONS(217), 1, anon_sym_DASH, - ACTIONS(204), 2, + ACTIONS(215), 2, anon_sym_COMMA, anon_sym_RBRACE, - [118] = 4, + [163] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(208), 1, - anon_sym_COMMA, ACTIONS(211), 1, + anon_sym_COMMA, + ACTIONS(219), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(48), 1, aux_sym_ldm_statement_repeat1, - [131] = 4, + [176] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(200), 1, + ACTIONS(211), 1, anon_sym_COMMA, - ACTIONS(213), 1, + ACTIONS(221), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(50), 1, aux_sym_ldm_statement_repeat1, - [144] = 2, + [189] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(215), 3, - ts_builtin_sym_end, - sym_directive, - sym_identifier, - [153] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(198), 1, - sym_register, - ACTIONS(217), 1, + ACTIONS(223), 1, anon_sym_RBRACE, - STATE(50), 1, + ACTIONS(225), 1, + sym_register, + STATE(51), 1, sym_reg_list, - [166] = 4, + [202] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(200), 1, + ACTIONS(211), 1, anon_sym_COMMA, - ACTIONS(219), 1, + ACTIONS(227), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(45), 1, aux_sym_ldm_statement_repeat1, - [179] = 4, + [215] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(200), 1, + ACTIONS(211), 1, anon_sym_COMMA, - ACTIONS(221), 1, + ACTIONS(229), 1, anon_sym_RBRACE, - STATE(40), 1, + STATE(50), 1, aux_sym_ldm_statement_repeat1, - [192] = 2, + [228] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(223), 3, - ts_builtin_sym_end, - sym_directive, - sym_identifier, - [201] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(198), 1, - sym_register, ACTIONS(225), 1, + sym_register, + ACTIONS(231), 1, anon_sym_RBRACE, - STATE(48), 1, + STATE(44), 1, sym_reg_list, - [214] = 4, + [241] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(200), 1, + ACTIONS(233), 1, anon_sym_COMMA, - ACTIONS(227), 1, + ACTIONS(236), 1, anon_sym_RBRACE, - STATE(41), 1, + STATE(50), 1, aux_sym_ldm_statement_repeat1, - [227] = 2, + [254] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(229), 3, - ts_builtin_sym_end, - sym_directive, - sym_identifier, - [236] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(200), 1, + ACTIONS(211), 1, anon_sym_COMMA, - ACTIONS(231), 1, + ACTIONS(238), 1, anon_sym_RBRACE, - STATE(44), 1, + STATE(42), 1, aux_sym_ldm_statement_repeat1, - [249] = 3, + [267] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(233), 1, - anon_sym_COMMA, - ACTIONS(235), 1, - anon_sym_BANG, - [259] = 2, + ACTIONS(225), 1, + sym_register, + ACTIONS(240), 1, + anon_sym_RBRACE, + STATE(47), 1, + sym_reg_list, + [280] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(237), 2, + ACTIONS(242), 2, sym_register, sym_constant, - [267] = 2, + [288] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(239), 2, + ACTIONS(244), 2, sym_register, sym_identifier, - [275] = 3, + [296] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(241), 1, + ACTIONS(246), 1, sym_identifier, - ACTIONS(243), 1, + ACTIONS(248), 1, sym_register, - [285] = 2, + [306] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(245), 2, + ACTIONS(225), 1, + sym_register, + STATE(61), 1, + sym_reg_list, + [316] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(250), 1, + anon_sym_COMMA, + ACTIONS(252), 1, + anon_sym_BANG, + [326] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(254), 1, + anon_sym_DQUOTE, + STATE(41), 1, + sym_string, + [336] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(256), 1, + sym_identifier, + ACTIONS(258), 1, + anon_sym_LBRACK, + [346] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(260), 2, anon_sym_COMMA, anon_sym_RBRACE, - [293] = 2, + [354] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(211), 2, + ACTIONS(236), 2, anon_sym_COMMA, anon_sym_RBRACE, - [301] = 3, + [362] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(198), 1, - sym_register, - STATE(56), 1, - sym_reg_list, - [311] = 3, + ACTIONS(262), 1, + anon_sym_RBRACK, + [369] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(264), 1, + anon_sym_RBRACK, + [376] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(247), 1, + ACTIONS(266), 1, sym_identifier, - ACTIONS(249), 1, - anon_sym_LBRACK, - [321] = 2, + [383] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(251), 1, + ACTIONS(268), 1, sym_constant, - [328] = 2, + [390] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(253), 1, - anon_sym_RBRACK, - [335] = 2, + ACTIONS(270), 1, + ts_builtin_sym_end, + [397] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(255), 1, + ACTIONS(272), 1, anon_sym_COMMA, - [342] = 2, + [404] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(257), 1, + ACTIONS(274), 1, anon_sym_RBRACK, - [349] = 2, + [411] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(259), 1, - anon_sym_RBRACK, - [356] = 2, - ACTIONS(3), 1, - sym_comment, - ACTIONS(261), 1, + ACTIONS(276), 1, aux_sym_offset_statement_token1, - [363] = 2, + [418] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(190), 1, + ACTIONS(195), 1, anon_sym_RBRACK, - [370] = 2, + [425] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(263), 1, - anon_sym_LBRACE, - [377] = 2, + ACTIONS(278), 1, + sym_register, + [432] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(265), 1, - anon_sym_LBRACE, - [384] = 2, + ACTIONS(280), 1, + anon_sym_COLON, + [439] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(267), 1, - sym_register, - [391] = 2, + ACTIONS(282), 1, + anon_sym_COMMA, + [446] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(269), 1, - anon_sym_COMMA, - [398] = 2, + ACTIONS(284), 1, + sym_register, + [453] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(271), 1, - anon_sym_COLON, - [405] = 2, + ACTIONS(286), 1, + anon_sym_DQUOTE, + [460] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(273), 1, - sym_register, - [412] = 2, + ACTIONS(288), 1, + anon_sym_LBRACE, + [467] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(275), 1, - sym_identifier, - [419] = 2, + ACTIONS(290), 1, + anon_sym_LBRACE, + [474] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(277), 1, + ACTIONS(292), 1, anon_sym_RBRACK, - [426] = 2, + [481] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(279), 1, + ACTIONS(294), 1, anon_sym_RBRACK, - [433] = 2, + [488] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(281), 1, - anon_sym_LBRACE, - [440] = 2, + ACTIONS(296), 1, + sym_register, + [495] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(283), 1, - sym_register, - [447] = 2, + ACTIONS(298), 1, + anon_sym_LBRACE, + [502] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(285), 1, + ACTIONS(300), 1, sym_constant, - [454] = 2, + [509] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(287), 1, + ACTIONS(302), 1, sym_register, - [461] = 2, + [516] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(289), 1, + ACTIONS(304), 1, sym_register, - [468] = 2, + [523] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(291), 1, - anon_sym_LBRACE, - [475] = 2, + ACTIONS(306), 1, + sym_identifier, + [530] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(293), 1, + ACTIONS(308), 1, sym_register, - [482] = 2, + [537] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(295), 1, - sym_register, - [489] = 2, + ACTIONS(310), 1, + anon_sym_LBRACE, + [544] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(297), 1, + ACTIONS(312), 1, sym_register, - [496] = 2, + [551] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(299), 1, + ACTIONS(314), 1, anon_sym_RBRACK, - [503] = 2, + [558] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(301), 1, - ts_builtin_sym_end, + ACTIONS(316), 1, + sym_register, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(33)] = 0, - [SMALL_STATE(34)] = 20, - [SMALL_STATE(35)] = 40, - [SMALL_STATE(36)] = 62, - [SMALL_STATE(37)] = 81, - [SMALL_STATE(38)] = 94, - [SMALL_STATE(39)] = 107, - [SMALL_STATE(40)] = 118, - [SMALL_STATE(41)] = 131, - [SMALL_STATE(42)] = 144, - [SMALL_STATE(43)] = 153, - [SMALL_STATE(44)] = 166, - [SMALL_STATE(45)] = 179, - [SMALL_STATE(46)] = 192, - [SMALL_STATE(47)] = 201, - [SMALL_STATE(48)] = 214, - [SMALL_STATE(49)] = 227, - [SMALL_STATE(50)] = 236, - [SMALL_STATE(51)] = 249, - [SMALL_STATE(52)] = 259, - [SMALL_STATE(53)] = 267, - [SMALL_STATE(54)] = 275, - [SMALL_STATE(55)] = 285, - [SMALL_STATE(56)] = 293, - [SMALL_STATE(57)] = 301, - [SMALL_STATE(58)] = 311, - [SMALL_STATE(59)] = 321, - [SMALL_STATE(60)] = 328, - [SMALL_STATE(61)] = 335, - [SMALL_STATE(62)] = 342, - [SMALL_STATE(63)] = 349, - [SMALL_STATE(64)] = 356, - [SMALL_STATE(65)] = 363, - [SMALL_STATE(66)] = 370, - [SMALL_STATE(67)] = 377, - [SMALL_STATE(68)] = 384, - [SMALL_STATE(69)] = 391, - [SMALL_STATE(70)] = 398, - [SMALL_STATE(71)] = 405, - [SMALL_STATE(72)] = 412, - [SMALL_STATE(73)] = 419, - [SMALL_STATE(74)] = 426, - [SMALL_STATE(75)] = 433, - [SMALL_STATE(76)] = 440, - [SMALL_STATE(77)] = 447, - [SMALL_STATE(78)] = 454, - [SMALL_STATE(79)] = 461, - [SMALL_STATE(80)] = 468, - [SMALL_STATE(81)] = 475, - [SMALL_STATE(82)] = 482, - [SMALL_STATE(83)] = 489, - [SMALL_STATE(84)] = 496, - [SMALL_STATE(85)] = 503, + [SMALL_STATE(34)] = 24, + [SMALL_STATE(35)] = 48, + [SMALL_STATE(36)] = 70, + [SMALL_STATE(37)] = 89, + [SMALL_STATE(38)] = 99, + [SMALL_STATE(39)] = 109, + [SMALL_STATE(40)] = 119, + [SMALL_STATE(41)] = 129, + [SMALL_STATE(42)] = 139, + [SMALL_STATE(43)] = 152, + [SMALL_STATE(44)] = 163, + [SMALL_STATE(45)] = 176, + [SMALL_STATE(46)] = 189, + [SMALL_STATE(47)] = 202, + [SMALL_STATE(48)] = 215, + [SMALL_STATE(49)] = 228, + [SMALL_STATE(50)] = 241, + [SMALL_STATE(51)] = 254, + [SMALL_STATE(52)] = 267, + [SMALL_STATE(53)] = 280, + [SMALL_STATE(54)] = 288, + [SMALL_STATE(55)] = 296, + [SMALL_STATE(56)] = 306, + [SMALL_STATE(57)] = 316, + [SMALL_STATE(58)] = 326, + [SMALL_STATE(59)] = 336, + [SMALL_STATE(60)] = 346, + [SMALL_STATE(61)] = 354, + [SMALL_STATE(62)] = 362, + [SMALL_STATE(63)] = 369, + [SMALL_STATE(64)] = 376, + [SMALL_STATE(65)] = 383, + [SMALL_STATE(66)] = 390, + [SMALL_STATE(67)] = 397, + [SMALL_STATE(68)] = 404, + [SMALL_STATE(69)] = 411, + [SMALL_STATE(70)] = 418, + [SMALL_STATE(71)] = 425, + [SMALL_STATE(72)] = 432, + [SMALL_STATE(73)] = 439, + [SMALL_STATE(74)] = 446, + [SMALL_STATE(75)] = 453, + [SMALL_STATE(76)] = 460, + [SMALL_STATE(77)] = 467, + [SMALL_STATE(78)] = 474, + [SMALL_STATE(79)] = 481, + [SMALL_STATE(80)] = 488, + [SMALL_STATE(81)] = 495, + [SMALL_STATE(82)] = 502, + [SMALL_STATE(83)] = 509, + [SMALL_STATE(84)] = 516, + [SMALL_STATE(85)] = 523, + [SMALL_STATE(86)] = 530, + [SMALL_STATE(87)] = 537, + [SMALL_STATE(88)] = 544, + [SMALL_STATE(89)] = 551, + [SMALL_STATE(90)] = 558, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -3514,149 +3585,156 @@ static const TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [25] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(70), - [28] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(83), - [31] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(82), - [34] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(81), - [37] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(80), - [40] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(79), - [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(53), - [46] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 2, .production_id = 2), - [48] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [50] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 2, .production_id = 2), - [52] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), - [54] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [56] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 1), - [58] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_definition_repeat1, 1), - [60] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [62] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 3, .production_id = 2), - [64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 3, .production_id = 2), - [66] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9), - [68] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [70] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label, 2), - [72] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label, 2), - [74] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 4, .production_id = 7), - [76] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 4, .production_id = 7), - [80] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_push_statement, 5), - [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_statement, 5), - [84] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 7, .production_id = 14), - [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 7, .production_id = 14), - [88] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 7, .production_id = 13), - [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 7, .production_id = 13), - [92] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 7, .production_id = 12), - [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 7, .production_id = 12), - [96] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 7, .production_id = 9), - [98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 7, .production_id = 9), - [100] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_statement, 6, .production_id = 11), - [102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_statement, 6, .production_id = 11), - [104] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 3, .production_id = 5), - [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 3, .production_id = 5), - [108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_directive_statement, 2), - [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_directive_statement, 2), - [112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 8, .production_id = 18), - [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 8, .production_id = 18), - [116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 5, .production_id = 8), - [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 5, .production_id = 8), - [120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 6, .production_id = 8), - [122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 6, .production_id = 8), - [124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 8, .production_id = 16), - [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 8, .production_id = 16), - [128] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 8, .production_id = 17), - [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 8, .production_id = 17), - [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 8, .production_id = 9), - [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 8, .production_id = 9), - [136] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_push_statement, 4), - [138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_statement, 4), - [140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_branch_statement, 2, .production_id = 4), - [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_branch_statement, 2, .production_id = 4), - [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 4, .production_id = 6), - [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 4, .production_id = 6), - [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pool_statement, 2), - [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pool_statement, 2), - [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 7, .production_id = 15), - [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 7, .production_id = 15), - [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_push_statement, 3), - [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_statement, 3), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 6, .production_id = 10), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 6, .production_id = 10), - [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 6, .production_id = 9), - [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 6, .production_id = 9), - [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__statement, 2), - [174] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__statement, 2), SHIFT_REPEAT(70), - [177] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__statement, 2), SHIFT_REPEAT(34), - [180] = {.entry = {.count = 1, .reusable = false}}, SHIFT(64), - [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [192] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_reg_list, 1), - [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [208] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_ldm_statement_repeat1, 2), SHIFT_REPEAT(57), - [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_ldm_statement_repeat1, 2), - [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 3, .production_id = 1), - [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2, .production_id = 3), - [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 2, .production_id = 1), - [231] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [239] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_branch_opcode, 1), - [241] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [243] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), - [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_reg_list, 3), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_opcode, 1), - [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_opcode, 1), - [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_opcode, 1), - [297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_opcode, 1), - [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_offset_statement, 3), - [301] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [27] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(72), + [30] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(71), + [33] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(90), + [36] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(88), + [39] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(87), + [42] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(86), + [45] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_function_definition_repeat1, 2), SHIFT_REPEAT(54), + [48] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 2, .production_id = 2), + [50] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [52] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 2, .production_id = 2), + [54] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), + [56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [58] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_function_definition_repeat1, 1), + [60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_function_definition_repeat1, 1), + [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [64] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 3, .production_id = 2), + [66] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 3, .production_id = 2), + [68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [72] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 4, .production_id = 7), + [74] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [76] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 4, .production_id = 7), + [78] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label, 2), + [80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label, 2), + [82] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_directive_statement, 2), + [84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_directive_statement, 2), + [86] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_push_statement, 4), + [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_statement, 4), + [90] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 4, .production_id = 6), + [92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 4, .production_id = 6), + [94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 8, .production_id = 18), + [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 8, .production_id = 18), + [98] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 8, .production_id = 9), + [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 8, .production_id = 9), + [102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 8, .production_id = 17), + [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 8, .production_id = 17), + [106] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 8, .production_id = 16), + [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 8, .production_id = 16), + [110] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 7, .production_id = 15), + [112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 7, .production_id = 15), + [114] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 7, .production_id = 14), + [116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 7, .production_id = 14), + [118] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 7, .production_id = 13), + [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 7, .production_id = 13), + [122] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 7, .production_id = 12), + [124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 7, .production_id = 12), + [126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 7, .production_id = 9), + [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 7, .production_id = 9), + [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_push_statement, 3), + [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_statement, 3), + [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_math_statement, 6, .production_id = 11), + [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_math_statement, 6, .production_id = 11), + [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 6, .production_id = 8), + [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 6, .production_id = 8), + [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_simple_statement, 3, .production_id = 5), + [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_simple_statement, 3, .production_id = 5), + [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 6, .production_id = 10), + [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 6, .production_id = 10), + [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_load_statement, 6, .production_id = 9), + [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_statement, 6, .production_id = 9), + [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ldm_statement, 5, .production_id = 8), + [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_statement, 5, .production_id = 8), + [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_branch_statement, 2, .production_id = 4), + [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_branch_statement, 2, .production_id = 4), + [162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_push_statement, 5), + [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_statement, 5), + [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pool_statement, 2), + [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pool_statement, 2), + [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [174] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__statement, 2), + [176] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__statement, 2), SHIFT_REPEAT(72), + [179] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__statement, 2), SHIFT_REPEAT(34), + [182] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__statement, 2), SHIFT_REPEAT(58), + [185] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), + [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [197] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 3, .production_id = 1), + [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2, .production_id = 3), + [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3), + [207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 2, .production_id = 1), + [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_include_statement, 2), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_reg_list, 1), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [231] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [233] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_ldm_statement_repeat1, 2), SHIFT_REPEAT(56), + [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_ldm_statement_repeat1, 2), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_branch_opcode, 1), + [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_reg_list, 3), + [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [270] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ldm_opcode, 1), + [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [284] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [296] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [302] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_opcode, 1), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_push_opcode, 1), + [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_offset_statement, 3), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_load_opcode, 1), }; #ifdef __cplusplus @@ -3666,7 +3744,7 @@ extern "C" { #define extern __declspec(dllexport) #endif -extern const TSLanguage *tree_sitter_asm(void) { +extern const TSLanguage *tree_sitter_arm(void) { static const TSLanguage language = { .version = LANGUAGE_VERSION, .symbol_count = SYMBOL_COUNT, diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h index 2b14ac1..17b4fde 100644 --- a/src/tree_sitter/parser.h +++ b/src/tree_sitter/parser.h @@ -13,9 +13,8 @@ extern "C" { #define ts_builtin_sym_end 0 #define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024 -typedef uint16_t TSStateId; - #ifndef TREE_SITTER_API_H_ +typedef uint16_t TSStateId; typedef uint16_t TSSymbol; typedef uint16_t TSFieldId; typedef struct TSLanguage TSLanguage; @@ -130,9 +129,16 @@ struct TSLanguage { * Lexer Macros */ +#ifdef _MSC_VER +#define UNUSED __pragma(warning(suppress : 4101)) +#else +#define UNUSED __attribute__((unused)) +#endif + #define START_LEXER() \ bool result = false; \ bool skip = false; \ + UNUSED \ bool eof = false; \ int32_t lookahead; \ goto start; \ @@ -166,7 +172,7 @@ struct TSLanguage { * Parse Table Macros */ -#define SMALL_STATE(id) id - LARGE_STATE_COUNT +#define SMALL_STATE(id) ((id) - LARGE_STATE_COUNT) #define STATE(id) id @@ -176,7 +182,7 @@ struct TSLanguage { {{ \ .shift = { \ .type = TSParseActionTypeShift, \ - .state = state_value \ + .state = (state_value) \ } \ }} @@ -184,7 +190,7 @@ struct TSLanguage { {{ \ .shift = { \ .type = TSParseActionTypeShift, \ - .state = state_value, \ + .state = (state_value), \ .repetition = true \ } \ }} diff --git a/test/corpus/include.txt b/test/corpus/include.txt new file mode 100644 index 0000000..2800917 --- /dev/null +++ b/test/corpus/include.txt @@ -0,0 +1,14 @@ +================================================= +basic include +================================================= + +#include "hello.inc" + +------------------------------------------------ + +(source_file + (include_statement + (string + (identifier) + (ERROR + (directive))))) diff --git a/test/highlight/test.asm b/test/highlight/test.asm index 2296538..3f07bb0 100644 --- a/test/highlight/test.asm +++ b/test/highlight/test.asm @@ -4,6 +4,10 @@ @ hello @ <- comment +#include "hello.inc" +@ <- preproc +@ ^ string + .align 2,0 @ <- preproc