Skip to content

Commit

Permalink
Added extension for ADC command. Now ADC command accepted with tree a…
Browse files Browse the repository at this point in the history
…rguments.
  • Loading branch information
dmitry1945 committed May 26, 2017
1 parent aeb93eb commit af79434
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gas/config/esp32ulp-parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,18 @@ asm_1:
return yyerror ("Register mismatch");
}
}
| ADC REG COMMA expr COMMA expr
{
if (IS_DREG ($2))
{
notethat ("ProgCtrl: ADC \n");
$$ = CMD_ADC($2, $4, $6);
}
else
{
return yyerror ("Register mismatch");
}
}
| ADC REG COMMA expr COMMA expr COMMA expr
{
if (IS_DREG ($2))
Expand Down

0 comments on commit af79434

Please sign in to comment.