home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CONV_A11.ZIP
/
TOKENS_A.INC
< prev
next >
Wrap
Text File
|
1989-11-07
|
3KB
|
104 lines
CONST
NRTOKENS = 346; {actually 1 more, since 0..MAXNRTOKENS}
TYPE
TokenStr = STRING[10];
Token_Array = ARRAY[0..NRTOKENS] OF TokenStr;
CONST
CToken : Token_Array =
{23 registers}
('ax','bx','cx','dx','al',
'ah','bl','bh','cl','ch',
'dl','dh','si','di','bp',
'sp','CS','DS','ES','SS',
'IP','FS','GS',
{23}
{87 Directives}
'ALIGN','.ALPHA','ASSUME','.CODE','COMM',
'COMMENT','.CONST','.CREF','.DATA','.DATA?',
'DB','DD','DF','DOSSEG','DQ',
'DT','DW','ELSE','END','ENDIF',
'ENDM','ENDP','ENDS','EQU','.ERR',
'.ERR1','.ERR2','.ERRB','.ERRDEF','.ERRDIF',
'.ERRE','.ERRIDN','.ERRNB','.ERRNDEF','.ERRNZ',
'EVEN','EXITM','EXTRN','FAR','.FARDATA',
'.FAREDATA?','GROUP','IF','IF1','IF2',
'IFB','IFDEF','IFDIF','IFE','IFIDN',
'IFNB','IFNDEF','INCLUDE','INCLUDELIB','IRP',
'IRPC','LABEL','.LALL','.LFCOND','.LIST',
'LOCAL','MACRO','.MODEL','.MSFLOAT','NAME',
'NEAR','ORG','%OUT','PAGE','PROC',
'PUBLIC','PURGE','.RADIX','RECORD','REPT',
'.SALL','SEGMENT','.SEQ','.SFCOND','.STACK.',
'STRUC','SUBTTL','.TFCOND','TITLE','.XALL',
'.XCREF','.XLIST',
{110}
{213 Instructions}
'aaa','aad','aam','aas','adc',
'add','and','bound','bsf','bsr',
'bt','btc','btr','bts','call',
'cbw','cdq','clc','cld','cli',
'cmp','cmps','cmpsb','cwd','cwde',
'daa','das','dec','div','enter',
'esc','f2xm1','fabs','fadd','fa',
'fbld','fbstp','fchs','fcom','fcomp',
'fcompp','fcos','fdiv','fdivp','fdivr',
'fdivrp','fiadd','ficom','ficomp','fidiv',
'fidivr','fild','fimul','finit','fist',
'fistp','fisub','fisubr','fld','fld1',
'fldcw','fldl2e','fldl2t','fldlg2','fldln2',
'fldpi','fldz','fmul','fmulp','fpatan',
'fprem','fptan','frndint','fscale','fsin',
'fsincos','fsqrt','fst','fstcw','fstp',
'fstsw','fsub','fsubp','fsubr','fsubrp',
'ftst','fwait','fxam','fxch','fxtract',
'fyl2x','fyl2xp1','hlt','idiv','imul',
'in','inc','ins','int','into',
'iret','iretd','ja','jae','jb',
'jbe','jc','jcxz','je','jexcz',
'jg','jge','jl','jle','jmp',
'jna','jnae','jnb','jnbe','jnc',
'jne','jng','jnge','jnl','jnle',
'jno','jnp','jns','jnz','jo',
'jp','jpe','jpo','js','jz',
'lahf','lds','lea','leave','les',
'lfs','lgs','lock','lods','lodsb',
'lodsw','loop','loope','loopne','loopnz',
'loopz','lss','mov','movs','movsb',
'movsw','movsx','movzx','mul','neg',
'nop','not','or','out','outs',
'pop','popa','popad','popd','popf',
'popfd','push','pusha','pushad','pushd',
'pushf','pushfd','rcl','rcr','rep',
'repe','repne','repnz','repz','ret',
'retf','retn','rol','ror','sahf',
'sal','sar','sbb','scas','scasb',
'scasw','set','shl','shld','shr',
'shrd','stc','std','sti','stos',
'stosb','stosw','sub','test','wait',
'xchg','xlat','xor',
{323}
{23 MASM operators}
'DUP','EQ','GE','GT','HIGH',
'LE','LENGTH','LOW','LT','MASK',
'MOD','NE','OFFSET','PTR','SEG',
'SHORT','SIZE','THIS','.TYPE','WIDTH',
'WORD','BYTE','DWORD',
'ToadHall' {just to make sure you're paying attention}
{total 346 tokens}
);