baseinstruction.java

来自「只是一个简单模拟操作系统」· Java 代码 · 共 29 行

JAVA
29
字号
/* * BaseInstruction.java * * Created on 2006年3月15日, 下午9:49 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package os.compiler;/** * * @author Vernkin */public interface BaseInstruction{	String[] instruction = { "ADD","AND","BR","JSR","JSRR","LD",							"LDI","LDR","LEA","NOT","RET","HALT",							"ST","STI","STR","TRAP"};	String[] instructionCode = {"0001","0101","0000","0100","1100","0010",								"1010","0110","1110","1001","1101","1000",								"0011","1011","0111","1111"};									String[] registerName = {"R0","R1","R2","R3","R4","R5","R6","R7"};	}

⌨️ 快捷键说明

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