资源简介
MIPS的汇编器,将MIPS汇编程序生成二进制程序 MIPS的汇编器,将MIPS汇编程序生成二进制程序 MIPS的汇编器,将MIPS汇编程序生成二进制程序
代码片段和文件信息
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /home/daffy/u0/vern/flex/RCS/flex.sklv 2.91 96/09/10 16:58:48 vern Exp $
*/
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
#include
/* cfront 1.2 defines “c_plusplus“ instead of “__cplusplus“ */
#ifdef c_plusplus
#ifndef __cplusplus
#define __cplusplus
#endif
#endif
#ifdef __cplusplus
#include
#include
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
/* The “const“ storage-class-modifier is valid. */
#define YY_USE_CONST
#else /* ! __cplusplus */
#if __STDC__
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif /* __STDC__ */
#endif /* ! __cplusplus */
#ifdef __TURBOC__
#pragma warn -rch
#pragma warn -use
#include
#include
#define YY_USE_CONST
#define YY_USE_PROTOS
#endif
#ifdef YY_USE_CONST
#define yyconst const
#else
#define yyconst
#endif
#ifdef YY_USE_PROTOS
#define YY_PROTO(proto) proto
#else
#define YY_PROTO(proto) ()
#endif
/* Returned upon end-of-file. */
#define YY_NULL 0
/* Promotes a possibly negative possibly signed char to an unsigned
* integer for use as an array index. If the signed char is negative
* we want to instead treat it as an 8-bit unsigned char hence the
* double cast.
*/
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
/* Enter a start condition. This macro really ought to take a parameter
* but we do it the disgusting crufty way forced on us by the ()-less
* definition of BEGIN.
*/
#define BEGIN yy_start = 1 + 2 *
/* Translate the current start state into a value that can be later handed
* to BEGIN to return to the state. The YYSTATE alias is for lex
* compatibility.
*/
#define YY_START ((yy_start - 1) / 2)
#define YYSTATE YY_START
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning “start processing a new file“. */
#define YY_NEW_FILE yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
#define YY_BUF_SIZE 16384
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern int yyleng;
extern FILE *yyin *yyout;
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
/* The funky do-while in the following #define is used to turn the definition
* int a single C statement (which needs a semi-colon terminator). This
* avoids problems with code like:
*
* if ( condition_holds )
* yyless( 5 );
* else
* do_something_else();
*
* Prior to using the do-while the compiler would get upset at the
* “else“ because it interpreted the “if“ statement as being all
* done when it reached the ‘;‘ after the yyless() call.
*/
/* Return all but the first ‘n‘ matched characters back to the input stream. */
#defin
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 99 2008-12-13 13:53 mipsAsm\Copy of test.asm
文件 88 2008-12-13 13:54 mipsAsm\dmem32.mif
文件 100 2008-12-12 18:00 mipsAsm\go.bat
文件 219 2008-11-02 20:36 mipsAsm\hex.txt
文件 62449 2008-12-12 18:08 mipsAsm\lex.yy.c
文件 97792 2008-08-27 22:33 mipsAsm\MiniSys的31条指令.doc
文件 597055 2008-12-12 18:09 mipsAsm\mipsAsm.exe
文件 4425 2008-12-09 23:48 mipsAsm\mipsAsm.l
文件 67677 2008-12-12 18:08 mipsAsm\mipsAsm.tab.c
文件 4633 2008-12-12 18:08 mipsAsm\mipsAsm.tab.h
文件 6376 2008-12-12 18:08 mipsAsm\mipsAsm.y
文件 122 2008-12-13 13:54 mipsAsm\prgmip32.mif
文件 683 2008-12-12 18:08 mipsAsm\test.asm
文件 312 2008-12-11 02:17 mipsAsm\test2.asm
文件 202 2008-12-11 21:30 mipsAsm\test3.asm
文件 664864 2009-03-06 19:58 mipsAsm\综合课程设计报告 - 汇编器.pdf
目录 0 2009-06-22 12:20 mipsAsm
----------- --------- ---------- ----- ----
1507096 17
- 上一篇:基于肤色和模板的人脸检测
- 下一篇:数据库课程设计大作业-餐饮管理系统
相关资源
- 一个小时钟汇编程序可以计时、校时
- 五级流水线MIPS微处理器部分指令实现
- 单周期CPUMIPS32位单周期CPU 32位MIPS单周
- 最经典的51单片机经典流水灯汇编程序
- 汇编程序-输入学生成绩并进行排名显
- 5V量程电压表汇编程序
- 流水灯和按键加减显示的汇编程序
- 步进电机转速控制实验单片机汇编程
- 汇编语言 万年历设计 Protues仿真+汇
- Mips1.circ
- 8088/8086单片机 DAC0832三角波 汇编程序
- convert转换bin到coe
- 华中科技大学 MIPS_CPU 实现了动态分支
- vxworks_for_mips_architecture_supplement_6.1
- winmips64.zip
- 北邮计算机系统结构实验三-使用MIP
- 西北工业大学电子实习单片机汇编程
- 汇编语言小游戏
- MIPS 32位CPU中ALU的实现
- 基于51单片机的时钟汇编程序
- dsp-fir滤波器的设计汇编程序
- mips汇编语言实现浮点数运算
- MIPS五级整数流水线模拟系统
- 用MIPS整数运算指令实现浮点数的加减
- 24秒倒计时汇编程序
- 基于51单片机的DDS函数信号发生器的设
- MIPS机器码翻译器(修正一)
- 单周期mips代码.rar
- 电子琴汇编程序.
- 一个用汇编语言程序设计的计算器,
评论
共有 条评论