⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asmentry.java

📁 用Java实现的编译器。把源代码编译成SPARC汇编程序
💻 JAVA
字号:
// $Id: ASMEntry.java,v 1.4 1999/11/04 16:53:40 deberg Exp $package java6035.tools.ASM;/** * ASMEntry * * represents entries in ASM files: labels, directives, and * instructions. */public abstract class ASMEntry {    protected static final int ASMLABEL     = 0;    protected static final int ASMDIRECTIVE = 1;    protected static final int ASMCOMMENT   = 2;    protected static final int SPARCINSTRUCTION = 3;    protected abstract int asmkind();    public boolean isASMLabel()    {	return asmkind() == ASMLABEL;    }    public boolean isASMDirective()    {	return asmkind() == ASMDIRECTIVE;    }    public boolean isASMComment()    {	return asmkind() == ASMCOMMENT;    }    public boolean isSPARCInstruction()    {	return asmkind() == SPARCINSTRUCTION;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -