#include "gwbasic.h"

typedef struct {
  int opcode;
  char *name;
} gwb_optable;

/* 
Source:   
http://forum.system-cfg.com/viewtopic.php?f=24&t=490&hilit=Tokens
*/ 

gwb_optable gwb_ops[] = {
0x80,"END",
0x81,"FOR",
0x82,"NEXT",
0x83,"DATA",
0x84,"INPUT",
0x85,"DIM",
0x86,"READ",
0x87,"LET",
0x88,"G0T0",
0x89,"RUN",
0x8a,"IF",
0x8b,"RESTORE",
0x8c,"GOSUB",
0x8d,"RETURN",
0x8e,"REM",
0x8f,"STOP",
0x90,"ON",
0x91,"LPRINT",
0x92,"DEF",
0x93,"POKE",
0x94,"PRINT",
0x95,"CONT",
0x96,"LIST",
0x97,"LLIST",
0x98,"CLEAR",
0x99,"RENUM",
0x9a,"AUTO",
0x9b,"LOAD",
0x9c,"SAVE",
0x9d,"CLOAD",
0x9e,"CSAVE",
0x9f,"CALL",
0xa0,"INIT",
0xa1,"SOUND",
0xa2,"PLAY",
0xa3,"TX",
0xa4,"GR",
0xa5,"SCREEN",
0xa6,"DISPLAY",
0xa7,"STORE",
0xaB,"SCROLL",
0xa9,"PAGE",
0xaa,"DELIM",
0xab,"SETE",
0xac,"ET",
0xad,"EG",
0xae,"CURSOR",
0xaf,"DISK",
0xb0,"MODEM",
0xb1,"NEW",
0xb2,"TAB(",
0xb3,"TO",
0xb4,"FN",
0xb5,"SPC",
0xb6,"THEN",
0xb7,"NOT",
0xb8,"STEP",
0xb9,"+",
0xba,"-",
0xbb,"*",
0xbc,"/",
0xbd,"^",
0xbe,"AND",
0xbf,"OR",
0xc0,">",
0xc1,"=",
0xc2,"<",
0xc3,"SGN",
0xc4,"INT",
0xc5,"ABS",
0xc6,"USR",
0xc7,"FRE",
0xc8,"LPOS",
0xc9,"POS",
0xca,"SQR",
0xcb,"RND",
0xcc,"LOG",
0xcd,"EXP",
0xce,"COS",
0xcf,"SIN",
0xe0,"TAN",
0xe1,"ATN",
0xe2,"PEEK",
0xe3,"LEN",
0xe4,"STR$",
0xe5,"VAL",
0xe6,"ASC",
0xe7,"STICKX",
0xe8,"STICKY",
0xe9,"ACTION",
0xea,"KEY",
0xeb,"LPEN",
0xec,"CHR$",
0xed,"LEFT$",
0xee,"RIGHT$",
0xef,"MID$",
0x00, 0
  };
