1: // Author: Jeffrey Bakker  |  Date: May14th 2002  |  langasm.cpp
     2: 
     3: // the Assembler Language definition file for Web C Plus Plus
     4: // Webcpp Copyright (C) 2002 Jeffrey Bakker
     5: 
     6: #include "langasm.h" 
     7: 
     8: LangAssembler::LangAssembler() {
     9: 
    10: 	fill();
    11: 	init_switches();
    12: 
    13: 	doCaseKeys  = No;
    14: 	doLabels    = Yes;
    15: 	doPreProc   = Yes;
    16: 	doBigComnt  = Yes;
    17: 	doAsmComnt  = Yes;
    18: }
    19: 
    20: void LangAssembler::fill() {
    21: 
    22: 	string K[] = {
    23: "aam","aas","adc","add","and","align","assume","bne","bpl","br","call","cmp",
    24: "cbw","clc","cwd","daa","das","db","dd","dec","dq","dt","dup","dw","endp",
    25: "ends","end","equ","far","global","idiv","div","in","inc","int","jae","ja",
    26: "jb","jcxz","jmp","jne","jns","jle","je","jl","jg","jng","jnl","jns","jnz",
    27: "jz","lodsb","local","loop","leave","lea","main","mov","imul","mul","near",
    28: "neg","not","or","org","out","pusha","push","popa","pop","proc","iret","rep",
    29: "ret","rol","seg","section","segment","shld","shl","shr","stosd","stosw",
    30: "sbb","sub","test","xchg","xor"
    31: 	};
    32: 
    33: 	for(int k=0;k < 88;k++) {keys.push_back(K[k]);}
    34: 
    35: 	string T[] = {
    36: "ah","al","ax",
    37: "bh","bl","bx",
    38: "ch","cl","cx",
    39: "dh","dl","dx",
    40: "eax","ebx","ecx","edx",
    41: "ss","ds","cs","es"
    42: 	};
    43: 	for(int t=0;t < 20;t++) {types.push_back(T[t]);}
    44: }
    45: 



w e b c p p
web c plus plus