Lines Matching refs:pioasm

152       pioasm (pioasm_yyarg)  in parser()
891 symbol_type yylookahead (yylex (pioasm)); in parse()
1070 { if (pioasm.error_count || pioasm.write_output()) YYABORT; } in parse()
1074 …{ if (!pioasm.add_program(yylhs.location, yystack_[0].value.as < std::string > ())) { std::strings… in parse()
1078 …{ pioasm.get_current_program(yystack_[0].location, "instruction").add_instruction(yystack_[0].valu… in parse()
1082 …{ auto &p = pioasm.get_current_program(yystack_[0].location, "instruction"); p.add_label(yystack_[… in parse()
1086 …{ pioasm.get_current_program(yystack_[0].location, "label").add_label(yystack_[0].value.as < std::… in parse()
1090 … { if (pioasm.error_count > 6) { std::cerr << "\ntoo many errors; aborting.\n"; YYABORT; } } in parse()
1094 …as < std::string > (); if (of.empty()) of = output_format::default_name; pioasm.get_current_progra… in parse()
1102 …> > ()->value = yystack_[0].value.as < std::shared_ptr<resolvable> > (); pioasm.get_current_progra… in parse()
1106 …{ pioasm.get_current_program(yystack_[1].location, ".origin", true).set_origin(yylhs.location, yys… in parse()
1110 …{ pioasm.get_current_program(yystack_[1].location, ".pio_version", true, false).set_pio_version(yy… in parse()
1114 …{ pioasm.get_current_program(yystack_[3].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1118 …{ pioasm.get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1122 …{ pioasm.get_current_program(yystack_[2].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1126 …{ pioasm.get_current_program(yystack_[1].location, ".side_set", true).set_sideset(yylhs.location, … in parse()
1130 …{ pioasm.get_current_program(yystack_[4].location, ".in", true).set_in(yylhs.location, yystack_[3]… in parse()
1134 …{ pioasm.get_current_program(yystack_[4].location, ".out", true).set_out(yylhs.location, yystack_[… in parse()
1138 …{ pioasm.get_current_program(yystack_[1].location, ".set", true).set_set_count(yylhs.location, yys… in parse()
1142 …{ pioasm.get_current_program(yystack_[0].location, ".wrap_target").set_wrap_target(yylhs.location)… in parse()
1146 … { pioasm.get_current_program(yystack_[0].location, ".wrap").set_wrap(yylhs.location); } in parse()
1150 …{ pioasm.get_current_program(yystack_[1].location, "instruction").add_instruction(std::shared_ptr<… in parse()
1154 …{ pioasm.get_current_program(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as … in parse()
1158 …{ pioasm.get_current_program(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as … in parse()
1162 …{ pioasm.get_current_program(yystack_[4].location, ".lang_opt").add_lang_opt(yystack_[3].value.as … in parse()
1170 …{ pioasm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yys… in parse()
1174 …{ pioasm.get_current_program(yystack_[1].location, ".clock_div").set_clock_div(yylhs.location, yys… in parse()
1178 …{ pioasm.get_current_program(yystack_[1].location, ".fifo", true).set_fifo_config(yylhs.location, … in parse()
1182 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1186 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1190 …{ pioasm.get_current_program(yystack_[4].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1194 …{ pioasm.get_current_program(yystack_[4].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1198 …{ pioasm.get_current_program(yystack_[3].location, ".mov_status", true).set_mov_status(mov_status_… in parse()
1342 …{ pioasm.check_version(1, yylhs.location, "irq prev"); yylhs.value.as < std::shared_ptr<instructio… in parse()
1346 …{ pioasm.check_version(1, yylhs.location, "irq next"); yylhs.value.as < std::shared_ptr<instructio… in parse()
1350 …{ pioasm.check_version(1, yylhs.location, "irq prev"); error(yystack_[0].location, "'rel' is not s… in parse()
1354 …{ pioasm.check_version(1, yylhs.location, "irq next"); error(yystack_[0].location, "'rel' is not s… in parse()
1410 …{ pioasm.check_version(1, yylhs.location, "irq prev"); yylhs.value.as < std::shared_ptr<wait_sourc… in parse()
1414 …{ pioasm.check_version(1, yylhs.location, "irq next"); yylhs.value.as < std::shared_ptr<wait_sourc… in parse()
1418 …{ pioasm.check_version(1, yylhs.location, "irq prev"); error(yystack_[0].location, "'rel' is not s… in parse()
1422 …{ pioasm.check_version(1, yylhs.location, "irq next"); error(yystack_[0].location, "'rel' is not s… in parse()
1438 …{ pioasm.check_version(1, yylhs.location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_so… in parse()
1442 …{ pioasm.check_version(1, yylhs.location, "wait jmppin"); yylhs.value.as < std::shared_ptr<wait_so… in parse()
1446 …{ error(yystack_[0].location, pioasm.version_string(1, "expected irq, gpio, pin or jmp_pin", "expe… in parse()
1462 …{ pioasm.check_version(1, yylhs.location, "txput"); yylhs.value.as < enum fifo_config > () = fifo_… in parse()
1466 …{ pioasm.check_version(1, yylhs.location, "rxput"); yylhs.value.as < enum fifo_config > () = fifo_… in parse()
1470 …{ pioasm.check_version(1, yylhs.location, "putget"); yylhs.value.as < enum fifo_config > () = fifo… in parse()
1474 …{ error(yystack_[0].location, pioasm.version_string(1, "expected txrx, tx, rx, txput, rxget or put… in parse()
1566 …{ pioasm.check_version(1, yylhs.location, "mov pindirs"); yylhs.value.as < extended_mov > () = mov… in parse()
1570 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1574 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1606 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
1610 …{ pioasm.check_version(1, yylhs.location, "mov rxfifo[], "); yylhs.value.as < extended_mov > () = … in parse()
2548 pioasm.error_count++; in error()