Source code for /engineering/bos/rewrite/INSTARRY.HOriginal file INSTARRY.H
   1 /*
   2 	BattleOS : Engage battling programs.
   3 
   4 	Copyright (C) 1992 Erich P Gatejen    ALL RIGHTS RESERVED
   5 
   6 
   7 	File     : INSTARRY.h
   8 	Purpose  : Header file for the BattleOS Assembler
   9 
  10 */
  11 
  12 
  13 /* This array is for translation of text instruction to instruction token */
  14 struct  InstItem {
  15 				char	       Text[4];
  16 				unsigned char  Token;
  17 
  18 } InstrTable[] = {
  19 				"dat", DAT,
  20 				"mov", MOV,
  21 				"cmp", CMP,
  22 				"je ", JE,
  23 				"jb ", JB,
  24 				"ja ", JA,
  25 				"jmp", JMP,
  26 				"inc", INC,
  27 				"dec", DEC,
  28 				"add", ADD,
  29 				"sub", SUB,
  30 				"cal", CALL,
  31 				"ret", RET,
  32 				"psh", PUSH,
  33 				"pop", POP,
  34                                 "rnd", RND,
  35 				"wt ", WT,
  36 				"tmr", TMR,
  37 				"hlt", HLT,
  38 				"int", INT
  39 
  40 };
  41