亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? outas386.c

?? C編譯器源碼是我到處找來的,看了之后很有收獲
?? C
?? 第 1 頁 / 共 3 頁
字號:
                case en_lucon:
                case en_ccon:
								case en_absacon:
                        fprintf(outputFile,"0%lXH",offset->v.i);
                        break;
								case en_rcon:
								case en_fcon:
								case en_lrcon:
												fprintf(outputFile,"%f",offset->v.f);
												break;
                case en_labcon:
                case en_nalabcon:
/*												if (!prm_nasm && !prm_flat)
													fprintf(outputFile,"CS:");
*/                        fprintf(outputFile,"L_%d",offset->v.i);
                        break;
								case en_napccon:
                case en_nacon:
                        fprintf(outputFile,"%s",offset->v.p[0]);
                        break;
                case en_add:
                        putconst(offset->v.p[0]);
                        fprintf(outputFile,"+");
                        putconst(offset->v.p[1]);
                        break;
                case en_sub:
                        putconst(offset->v.p[0]);
                        fprintf(outputFile,"-");
                        putconst(offset->v.p[1]);
                        break;
                case en_uminus:
                        fprintf(outputFile,"-");
                        putconst(offset->v.p[0]);
                        break;
                default:
                        DIAG("illegal constant node.");
                        break;
                }
}
void putlen(int l)
/*
 *      append the length field to an instruction.
 */
{ 
	if (l!= 10 && l != 8 && l != 6 && l != 4 && l != 1 && l != 2 && l != 0)
     DIAG("illegal length field.");
}
void putsizedreg(char *string, int reg, int size)
{
	static char *byteregs[] = { "AL","CL","DL","BL","AH","CH","DH","BH" };
	static char *wordregs[] = { "AX", "CX", "DX","BX","SP","BP","SI","DI"  };
	static char *longregs[] = { "EAX", "ECX", "EDX","EBX","ESP","EBP","ESI","EDI" };
  if (size == 4)
		fprintf(outputFile,string,longregs[reg]);
	else if (size == 1)
		fprintf(outputFile,string,byteregs[reg]);
		else
			fprintf(outputFile,string,wordregs[reg]);
}
void pointersize(int size)
{
	if (prm_nasm && skipsize)
		return;
/*	if (needpointer)
*/		switch (size) {		
			case 10:
				fprintf(outputFile,"TBYTE ");
				break;
			case 8:                      
       	fprintf(outputFile,"QWORD ");
				break;
			case 6:
				if (!uses_float) {
					fprintf(outputFile,"FWORD ");
					break;
				}
			case 4:                      
				fprintf(outputFile,"DWORD ");
				break;
			case 2:
				fprintf(outputFile,"WORD ");
				break;
			case 1:
				fprintf(outputFile,"BYTE ");
				break;
			default:
				DIAG("Bad pointer");
		}	
		if (!prm_nasm)
			fprintf(outputFile,"PTR ");
}
void putseg(int seg, int usecolon)
{
	if (!seg)
		return;
	seg-=1;
	seg<<=1;
	fputc(segregs[seg], outputFile);
	fputc(segregs[seg+1], outputFile);
  if (usecolon)
		fputc(':', outputFile);
}

void putamode(AMODE *ap)
/*
 *      output a general addressing mode.
 */

{	int oldnasm, l;
       switch( ap->mode )
                {
								case am_seg:
												putseg(ap->seg,0);
												break;
								case am_screg:
												fprintf(outputFile,"CR%d",ap->preg);
												break;
								case am_sdreg:
												fprintf(outputFile,"DR%d",ap->preg);
												break;
								case am_streg:
												fprintf(outputFile,"TR%d",ap->preg);
												break;
                case am_immed:
												if (ap->length && (ap->offset->nodetype == en_labcon 
														|| ap->offset->nodetype == en_nacon || ap->offset->nodetype == en_nalabcon
														|| ap->offset->nodetype == en_napccon)) {
													if (!prm_nasm)
														fprintf(outputFile,"OFFSET ");
												  else
														if (!nosize) 
															fprintf(outputFile,"DWORD ");
												}
												else
													if (prm_nasm && addsize)
														pointersize(ap->length);
                        putconst(ap->offset);
												break;
                case am_direct:
												pointersize(ap->length);
												putseg(ap->seg,TRUE);
/*												if (!prm_flat)
													fprintf(outputFile,"DS:");
*/												fprintf(outputFile,"[");
												oldnasm = prm_nasm;
												prm_nasm = TRUE;
                        putconst(ap->offset);
												fputc(']',outputFile);
												prm_nasm = oldnasm;
                        break;
                case am_dreg:
												putsizedreg("%s",ap->preg,ap->length);
												break;
								case am_freg:
												fprintf(outputFile,"ST(%d)",ap->preg);
												break;
								case am_indisp:
												pointersize(ap->length);
												putseg(ap->seg,TRUE);
												putsizedreg("[%s",ap->preg,4);
												if (ap->offset) {
													fputc('+',outputFile);
													putconst(ap->offset);
												}
												fputc(']',outputFile);
												break;
								case am_indispscale: {
												int scale = 1,t=ap->scale;
												while (t--)
													scale <<=1;
												pointersize(ap->length);
												putseg(ap->seg,TRUE);
												if (ap->preg == -1)
													fputc('[',outputFile);
												else
													putsizedreg("[%s+",ap->preg,4);
												putsizedreg("%s",ap->sreg,4);
												if (scale != 1)
													fprintf(outputFile,"*%d",scale);
												if (ap->offset) {
													fputc('+',outputFile);
													putconst(ap->offset);
												}
												fputc(']',outputFile);
												}
												break;
                default:
                        DIAG("illegal address mode.");
                        break;
                }
}

void put_code(OCODE *cd)
/*
 *      outputFile a generic instruction.
 */
{       
		int op = cd->opcode,len=0,len2=0;
		AMODE *aps = cd->oper1,*apd = cd->oper2, *ap3 = cd->oper3;
		if (!prm_asmfile)	
			return;
		if (op == op_line) {
			if (!prm_lines)
				return;
			fprintf(outputFile,";\n; Line %d:\t%s\n;\n",(int)apd,(char *)aps);
			return;
		}
		if (aps)
			len = aps->length;
		if (apd)
			len2 = apd->length;
		needpointer = (len != len2) || ((!aps || aps->mode !=am_dreg) && (!apd || apd->mode !=am_dreg));
		putop(op);
		if (prm_nasm && op >=op_ja && op <= op_jns)
			fprintf(outputFile,"\tNEAR");
		switch (op) {
			case op_rep:
			case op_repz:
			case op_repe:
			case op_repnz:
			case op_repne:
			case op_lock:
				return;
		}
    putlen(len);
        if( aps != 0 ) {
                fprintf(outputFile,"\t");
								if (op == op_dd)
									nosize = TRUE;
								putamode(aps);
								nosize = FALSE;
                if( apd != 0 ) 
                        {
                        fprintf(outputFile,",");
                        putamode(apd);
                        }
                if( ap3 != 0 ) 
                        {
                        fprintf(outputFile,",");
                        putamode(ap3);
                        }
				}
  fprintf(outputFile,"\n");
}

void gen_strlab(SYM *s)
/*
 *      generate a named label.
 */
{
		if (prm_asmfile)
			if (curseg == dataseg || curseg == bssxseg) {
				newlabel = TRUE;
			 	fprintf(outputFile,"\n%s",s->name);
				outcol = strlen(s->name)+1;
			}
			else
				if (currentfunc->pascaldefn) {
					char buf[100],*q=buf,*p=s->name;
					if (prm_cmangle)
						p++;
					while(*p)
						*q++=toupper(*p++);
					*q++ = 0;
        	fprintf(outputFile,"%s:\n",buf);
				}
				else
        	fprintf(outputFile,"%s:\n",s->name);
}

void put_label(int lab)
/*
 *      outputFile a compiler generated label.
 */
{
       if (prm_asmfile)
					fprintf(outputFile,"L_%d:\n",lab);
}
void put_staticlabel(long label)
{
				if (prm_asmfile) {
					nl();
					if (curseg == dataseg || curseg == bssxseg) {
						newlabel = TRUE;
					 	fprintf(outputFile,"\nL_%ld",label);
						outcol = 8;
					}
					else
						fprintf(outputFile,"L_%ld:\n",label);
				}
}

void genfloat(float val)
/*
 * Output a float value
 */
{ 		if (prm_asmfile)
        if( gentype == floatgen && outcol < 60) {
                fprintf(outputFile,",%f",val);
                outcol += 8;
                }
        else    {
								if (!newlabel)
									nl();
								else newlabel = FALSE;
                fprintf(outputFile,"\tDD\t%f",val);
                gentype = floatgen;
                outcol = 19;
                }
}

void gendouble(double val)
/*
 * Output a double value
 */
{ 		if (prm_asmfile)
        if( gentype == doublegen && outcol < 60) {
                fprintf(outputFile,",%f",val);
                outcol += 8;
                }
        else    {
								if (!newlabel)
									nl();
								else newlabel = FALSE;
                fprintf(outputFile,"\tDQ\t%f",val);
                gentype = doublegen;
                outcol = 19;
                }
}
void genlongdouble(double val)
/*
 * Output a double value
 */
{ 		if (prm_asmfile)
        if( gentype == longdoublegen && outcol < 60) {
                fprintf(outputFile,",%f",val);
                outcol += 8;
                }
        else    {
								if (!newlabel)
									nl();
								else newlabel = FALSE;
                fprintf(outputFile,"\tDT\t%f",val);
                gentype = longdoublegen;
                outcol = 19;
                }
}
int genstring(char *str, int uselong)
/*
 * Generate a string literal
 */
{
	if (uselong) {
		while  (*(short *)str) {
			genword(*((short *)str));
			str+=2;
		}
		return pstrlen(str)*2;
	}
	else {
		while (*str)
			genbyte(*str++);
		return strlen(str);
	}
}
void genbyte(long val)
/*
 * Output a byte value
 */
{ 		if (prm_asmfile)
        if( gentype == bytegen && outcol < 60) {
                fprintf(outputFile,",0%XH",val & 0x00ff);
                outcol += 4;
                }
        else    {
								if (!newlabel)
									nl();
								else newlabel = FALSE;
                fprintf(outputFile,"\tDB\t0%XH",val & 0x00ff);
                gentype = bytegen;
                outcol = 19;
                }
}

void genword(long val)
/*
 * Output a word value
 */
{     if (prm_asmfile)
        if( gentype == wordgen && outcol < 58) {
                fprintf(outputFile,",0%XH",val & 0x0ffff);
                outcol += 6;
                }
        else    {
								if (!newlabel)
									nl();
								else newlabel = FALSE;
                fprintf(outputFile,"\tDW\t0%XH",val & 0x0ffff);
                gentype = wordgen;
                outcol = 21;
                }
}

void genlong(long val)
/*
 * Output a long value
 */
{     if (prm_asmfile)
        if( gentype == longgen && outcol < 56) {
                fprintf(outputFile,",0%lXH",val);
                outcol += 10;
                }
        else    {
								if (!newlabel)
									nl();
								else newlabel = FALSE;
                fprintf(outputFile,"\tDD\t0%lXH",val);
                gentype = longgen;
                outcol = 25;
                }
}

void gensrref(SYM *sp, int val)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产一区二区三区| 国产欧美日韩亚州综合 | 午夜伊人狠狠久久| 91国偷自产一区二区使用方法| 亚洲欧美日韩精品久久久久| 在线看国产一区| 亚洲电影第三页| 日韩精品一区二区三区在线观看| 激情综合一区二区三区| 国产精品私人自拍| 在线观看亚洲a| 蜜臀久久久99精品久久久久久| 日韩精品一区二区三区蜜臀| 国产成a人亚洲精品| 亚洲卡通欧美制服中文| 欧美精品1区2区3区| 精品一区二区三区日韩| 欧美激情一区二区三区不卡| 91视频com| 日本欧美一区二区三区乱码| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 亚洲天堂免费看| 欧美性感一区二区三区| 日韩电影在线观看一区| 久久免费视频一区| 91在线视频播放| 蜜臀av一级做a爰片久久| 欧美韩国日本不卡| 欧美久久一二区| 丁香六月综合激情| 亚洲激情图片小说视频| 日韩精品专区在线| av爱爱亚洲一区| 精品在线你懂的| 一区二区三区不卡视频在线观看| 日韩精品中文字幕在线一区| 在线视频你懂得一区二区三区| 韩国av一区二区三区| 亚洲精品福利视频网站| 国产亚洲精品7777| 欧美一区二区三区日韩| 99久久久无码国产精品| 精品一区二区免费在线观看| 一区二区三区蜜桃| 国产亚洲欧美日韩日本| 91麻豆精品国产91久久久资源速度 | 日韩av不卡一区二区| 亚洲欧美自拍偷拍色图| 精品少妇一区二区三区日产乱码| 91国偷自产一区二区开放时间 | 91在线视频播放地址| 国产伦精品一区二区三区视频青涩 | 日韩一区二区高清| 在线观看亚洲成人| 99re66热这里只有精品3直播 | 日韩中文字幕一区二区三区| 国产精品第一页第二页第三页| 日韩视频一区二区三区| 日本电影亚洲天堂一区| av在线播放一区二区三区| 国产综合久久久久影院| 日本不卡的三区四区五区| 亚洲综合色成人| 亚洲免费观看高清完整版在线观看 | 日本一区二区三区免费乱视频| 日韩一区二区在线播放| 欧美疯狂做受xxxx富婆| 欧美影院午夜播放| 在线观看国产日韩| 在线看日本不卡| 91高清在线观看| 欧美亚日韩国产aⅴ精品中极品| 色婷婷综合五月| 在线免费观看日本一区| 色八戒一区二区三区| 91啦中文在线观看| 色94色欧美sute亚洲线路一久| 99re热视频这里只精品| 色综合久久久久综合体桃花网| av色综合久久天堂av综合| k8久久久一区二区三区| 99精品一区二区三区| www.在线成人| 91浏览器入口在线观看| 一本高清dvd不卡在线观看| 色猫猫国产区一区二在线视频| 欧美调教femdomvk| 欧美男生操女生| 日韩三级视频在线观看| 日韩三级中文字幕| 久久精品人人做人人综合| 国产欧美一区二区三区鸳鸯浴 | 亚洲精品中文在线| 一区二区三区四区激情| 亚洲成在线观看| 狠狠色伊人亚洲综合成人| 成人午夜又粗又硬又大| 99v久久综合狠狠综合久久| 欧美午夜电影一区| 日韩色视频在线观看| 国产欧美日韩视频一区二区| 亚洲精品高清视频在线观看| 日日夜夜一区二区| 九九**精品视频免费播放| 高清不卡在线观看av| 色女孩综合影院| 精品精品欲导航| 日韩一区欧美小说| 天天射综合影视| 国产精品一区二区视频| 在线视频国内自拍亚洲视频| 欧美一级精品在线| 国产精品免费网站在线观看| 亚洲国产精品嫩草影院| 国产一区二区免费视频| 欧美综合视频在线观看| 精品国产一区二区三区久久影院 | 久久夜色精品一区| 夜夜嗨av一区二区三区网页 | 日韩精品一区二区三区三区免费| 国产精品免费视频网站| 日日摸夜夜添夜夜添精品视频| 国产传媒欧美日韩成人| 欧美日韩国产一级| 中文字幕欧美激情一区| 日韩电影免费在线看| 成人福利视频在线| 日韩三级免费观看| 亚洲精品国产a久久久久久| 国产自产2019最新不卡| 欧美性感一类影片在线播放| 国产亚洲va综合人人澡精品| 五月天中文字幕一区二区| 不卡的电影网站| 久久先锋影音av鲁色资源| 亚洲chinese男男1069| 成人av电影在线播放| 精品国产乱码久久久久久1区2区| 亚洲一区在线视频| 成人免费的视频| 精品国产乱码久久久久久图片 | 国产高清不卡二三区| 51精品秘密在线观看| 亚洲免费观看在线观看| 成人av资源站| 国产午夜一区二区三区| 美女国产一区二区三区| 日本精品一级二级| 国产精品久久久久永久免费观看| 黄网站免费久久| 精品国产制服丝袜高跟| 青青草国产精品亚洲专区无| 欧美日韩国产免费| 亚洲青青青在线视频| 成人精品国产一区二区4080| 国产丝袜欧美中文另类| 极品销魂美女一区二区三区| 日韩欧美高清在线| 青青草国产精品亚洲专区无| 欧美一区日韩一区| 亚洲chinese男男1069| 欧美三级中文字| 亚洲无人区一区| 欧美色偷偷大香| 亚洲一区在线播放| 欧美日韩一区二区三区在线| 夜夜精品浪潮av一区二区三区 | 欧美撒尿777hd撒尿| 亚洲一区二区三区影院| 欧美三级资源在线| 日韩国产欧美三级| 欧美精品aⅴ在线视频| 日本三级韩国三级欧美三级| 777亚洲妇女| 久久国产三级精品| 久久一留热品黄| 成人精品视频一区二区三区尤物| 国产精品欧美综合在线| 成人黄色免费短视频| 中文字幕在线观看一区| 97久久精品人人爽人人爽蜜臀| 一区二区三区欧美在线观看| 欧美在线免费观看亚洲| 偷拍亚洲欧洲综合| 日韩免费在线观看| 国产老女人精品毛片久久| 国产色婷婷亚洲99精品小说| 成人黄色片在线观看| 一区二区成人在线视频 | 日韩一区二区在线看| 国产自产视频一区二区三区| 国产精品美女久久久久久久久 | 2020国产精品自拍| 国产成人h网站| 亚洲最大成人网4388xx| 欧美丰满少妇xxxxx高潮对白| 激情六月婷婷综合| 最新高清无码专区| 91精品午夜视频| 国产成人在线电影|