Added arpl instruction
This commit is contained in:
parent
a082cf03dc
commit
6e0c2ad593
3 changed files with 4 additions and 3 deletions
|
@ -17,8 +17,8 @@
|
|||
%token <y_word> RSYSTR
|
||||
%token <y_word> PREFIX
|
||||
%token <y_word> ADDOP
|
||||
%token <y_word> ARPLOP
|
||||
%token <y_word> BITTEST
|
||||
%token <y_word> BOUND
|
||||
%token <y_word> CALFOP
|
||||
%token <y_word> CALLOP
|
||||
%token <y_word> ENTER
|
||||
|
|
|
@ -279,6 +279,7 @@
|
|||
0, TEST, 1, "test",
|
||||
0, XCHG, 0, "xchgb",
|
||||
0, XCHG, 1, "xchg",
|
||||
0, ARPLOP, 0143, "arpl",
|
||||
|
||||
/* Intel 80[23]87 coprocessor keywords */
|
||||
|
||||
|
|
|
@ -42,8 +42,6 @@ oper : NOOP_1
|
|||
}
|
||||
| BITTEST ea_ea
|
||||
{ bittestop($1);}
|
||||
| BOUND R32 ',' mem
|
||||
{ emit1($1); ea_2($2<<3); }
|
||||
| ADDOP ea_ea
|
||||
{ addop($1);}
|
||||
| ROLOP ea_ea
|
||||
|
@ -72,6 +70,8 @@ oper : NOOP_1
|
|||
{ emit1($1); ea_2($2<<3);}
|
||||
| LEAOP2 R32 ',' mem
|
||||
{ emit1(0xF); emit1($1); ea_2($2<<3);}
|
||||
| ARPLOP mem ',' R32
|
||||
{ emit1($1); ea_2($4<<3);}
|
||||
| LSHFT ea_1 ',' R32 ',' ea_2
|
||||
{ extshft($1, $4);}
|
||||
| EXTEND R32 ',' ea_2
|
||||
|
|
Loading…
Reference in a new issue