ack/mach/i386/as/mach2.c

67 lines
1.4 KiB
C
Raw Permalink Normal View History

1989-01-19 16:20:46 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1994-06-24 07:25:30 +00:00
#define RCSID2 "$Id$"
1989-01-19 16:20:46 +00:00
/*
* INTEL 80386 tokens
*/
1990-03-12 16:24:58 +00:00
%token <y_word> ATOGGLE
%token <y_word> OTOGGLE
%token <y_word> USE16
%token <y_word> USE32
1989-01-19 16:20:46 +00:00
%token <y_word> R32
%token <y_word> R16
%token <y_word> R8
%token <y_word> RSEG
%token <y_word> RSYSCR
%token <y_word> RSYSDR
%token <y_word> RSYSTR
%token <y_word> PREFIX
%token <y_word> ADDOP
1990-03-09 11:07:43 +00:00
%token <y_word> ARPLOP
1989-11-29 09:49:35 +00:00
%token <y_word> BITTEST
1989-01-19 16:20:46 +00:00
%token <y_word> CALFOP
%token <y_word> CALLOP
%token <y_word> ENTER
%token <y_word> EXTEND
%token <y_word> EXTOP
%token <y_word> EXTOP1
%token <y_word> IMUL
%token <y_word> IMULB
%token <y_word> INCOP
%token <y_word> INT
%token <y_word> IOOP
%token <y_word> JOP
%token <y_word> JOP2
%token <y_word> LEAOP
%token <y_word> LEAOP2
%token <y_word> LSHFT
%token <y_word> MOV
%token <y_word> NOOP_1
%token <y_word> NOOP_2
%token <y_word> NOTOP
%token <y_word> PUSHOP
%token <y_word> RET
%token <y_word> ROLOP
%token <y_word> SETCC
%token <y_word> TEST
%token <y_word> XCHG
1989-11-29 09:49:35 +00:00
/* Intel 80[23]87 coprocessor tokens */
%token <y_word> FNOOP
%token <y_word> FMEM
%token <y_word> FMEM_AX
%token <y_word> FST_I
%token <y_word> FST_ST
%token <y_word> FST_ST2
%token <y_word> ST
/* Intel 80486 tokens */
%token <y_word> EXTOPBW
%token <y_word> BSWAP
1989-11-29 09:49:35 +00:00
%type <y_valu> st_i
%type <y_valu> reg