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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? extendedalucontrol.java

?? MIPS Simulator assembly languge.
?? JAVA
字號:
import java.awt.*;

/***********************************************************************
 *	File:     ExtendedALUControl.java
 *    Aurthor:  Dr. Dalton R. Hunkins
 *              Computer Science Department
 *              St. Bonaventure University
 *    Date:     17 January 2006
 *
 *    Purpose:
 *       The file is a stub that allows the reader/programmer to extend
 *       the ALU Control Unit within the Data Path Simulator, PathSim, 
 *       to handle additional MIPS operators. The extension is 
 *       accomplished through adding java code to the method execute. 
 *       See the lab instruction comment given below.
 *
 *   Class Modified by:
 ***********************************************************************/   

class ExtendedALUControl extends ALUControl {
	private DataLine aluOp, func, aluControl;
	private DataPath parent;
	
/***********************************************************************
   The Data Lines are
	aluOp       - the line coming from the Control unit
	func        - the line holding the function field of the 
                    instruction (Instruction[5-0])
	aluControl  - the output line going to the ALU
*****************************************************************************/
	
	public ExtendedALUControl(double x, double y, double w, double h,
                                Color c, 
	                          String label1, String label2,
                                String name,
					  DataLine aluOp, DataLine func,
                                DataLine aluControl, DataPath parent) {
	                  	
	    super(x, y, w, h, c, label1, label2, name, aluOp,
                func, aluControl);
	    this.func       = func;
	    this.aluOp      = aluOp;
	    this.aluControl = aluControl;  
	    this.parent     = parent;
    }
    
  
    public void execute() {
    	int function  = (int) hexStringToUnsigned(func.getValue());
    	int operation = (int) hexStringToUnsigned(aluOp.getValue());
/*********************************************************************
    function
        is the function field of the MIPS instruction and
        represented here as a decimal (base 10) number versus a 
        hexadecimal number.
    operation
        is the value placed on the data line ALUOp by the (extended)
        control unit
**********************************************************************/    
    

/*********************************************************************
               INSTRUCTIONS FOR LABS B and C
   Currently, the method is implemented by the call super.execute()
   as seen with the code written below. However, the parent super
   does nothing with the extensions. Therefore, you must write your 
   code here for those extensions. In particular, super handles 
   the operation values 0 and 1 and the combination of operation 2 
   and function numbers 32, 34, 36, 37 and 42. Now for Lab B, your
   code must handle any of the following function numbers for 
   operation 2 by placing on the output line (this.aluControl) the
   given (string) value
         0x27 = 39 -> nor		aluControl = 3
         0x26 = 38 -> xor		aluControl = 4
         0x4  =  4 -> sllv		aluControl = 5
         0x7  =  7 -> srav		aluControl = 8
         0x6  =  6 -> srlv		aluControl = 9
    And for lab C, your code must handle any of the following
    operatons by placing on the output line (this.aluControl)
    the appropriate value (you should be able to determine these
    aluControl values from the MIPS operators already implemented
    in PathSim).
	   addi -> 3				
	   andi -> 4
         ori  -> 5
    Last for lab C, your code must handle any of the following
    operations by placing on the output line (this.aluControl)
    the given (string) value
         xori -> 6			aluControl = 4 (why 4?)
         bne  -> 7			aluControl = A

    To accomplish your task for lab B and/or lab C, you will 
    need to use the method setValue belonging to the DataLine 
    class and the inherited utility method signedToHexString.
    The two methods are described as follows:

    public void setValue(String value) 
	precondition: 
	   value is any String
	postcondition:
	   value is put on the data line and appears with
	   a mouse click on the line

    protected String signedToHexString(int number, 
                                       int numberOfDigits) {
	precondition:
	   number is any 32 bit integer
       numberOfDigits is any positive integer
	postcondition:
	   a String of numberOfDigits (e.g. 8 digit) is returned. The
       string is a sequence of hex digits that is equivalent to
       the 32 bit integer

    For development/debugging purposes, you may also wish to use the
    the following method:

    parent.displayMessage(String message)
       precondition:
          message is any string
       postcondition:
          the message is displayed in an alert box

**********************************************************************/
       super.execute();
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人sese在线| 欧美精品丝袜中出| 亚洲超碰精品一区二区| 中文幕一区二区三区久久蜜桃| 日韩精品一区二| 日韩欧美aaaaaa| 日韩欧美aaaaaa| 日韩欧美三级在线| 欧美日韩的一区二区| 91美女精品福利| 欧洲av一区二区嗯嗯嗯啊| 成人app下载| 一本久道久久综合中文字幕| 国产.欧美.日韩| 国产98色在线|日韩| 丁香婷婷综合色啪| 9i在线看片成人免费| 国产成人免费视频一区| 粉嫩aⅴ一区二区三区四区五区| 国产成人免费av在线| 777久久久精品| 99国产欧美久久久精品| 在线观看亚洲一区| 91精品国产综合久久香蕉麻豆| 91精品啪在线观看国产60岁| 日韩免费高清av| 国产精品三级视频| 亚洲国产综合人成综合网站| 日韩高清中文字幕一区| 日本不卡高清视频| 国产精品亚洲综合一区在线观看| 色综合色狠狠综合色| 日韩欧美国产不卡| 亚洲欧洲另类国产综合| 天天影视色香欲综合网老头| 国产精品99久久久久久有的能看| 色视频一区二区| 精品乱码亚洲一区二区不卡| 国产精品天干天干在线综合| 午夜亚洲国产au精品一区二区| 国产一区二区三区免费在线观看| 91麻豆自制传媒国产之光| 精品美女一区二区三区| 亚洲一级在线观看| 国产91精品一区二区麻豆网站 | 懂色av中文字幕一区二区三区| 国产精品一二三四区| 99精品黄色片免费大全| 亚洲高清在线精品| 石原莉奈在线亚洲三区| 免费观看在线色综合| 久久99国产精品久久99果冻传媒| 麻豆精品一区二区综合av| 韩国av一区二区三区四区| 国产成人欧美日韩在线电影| 成人av综合一区| 色综合夜色一区| 在线观看日韩高清av| 91精品国产色综合久久不卡电影| 91美女精品福利| 韩国av一区二区三区四区| 一区二区三区不卡视频在线观看| 日本午夜一区二区| 国产精品影视天天线| 一本色道综合亚洲| 欧美一区二区三区婷婷月色| 久久久一区二区三区捆绑**| 亚洲欧美日韩电影| 久久草av在线| 91在线无精精品入口| 欧美丰满一区二区免费视频| 久久久青草青青国产亚洲免观| 国产精品毛片久久久久久| 日韩欧美一二三四区| 18成人在线视频| 欧美96一区二区免费视频| 成人精品视频一区| 91精品国产福利| 亚洲乱码国产乱码精品精小说| 日韩成人午夜电影| 国产精品系列在线播放| 99国产精品一区| 欧美精品一区二区三区在线播放| 伊人色综合久久天天| 国产在线精品一区二区夜色| 欧美日韩一区二区三区在线| 日本一二三不卡| 亚洲最大的成人av| 精品一区二区精品| 不卡视频在线观看| 亚洲精品一区二区三区香蕉| 午夜精品福利在线| 99热在这里有精品免费| 久久综合给合久久狠狠狠97色69| 亚洲国产一区二区在线播放| 99久久亚洲一区二区三区青草| 69堂亚洲精品首页| 亚洲综合图片区| 日本韩国欧美三级| 国产精品色噜噜| 处破女av一区二区| 欧美精品一区二区三区在线| 日本欧美一区二区三区乱码| 欧美日韩国产高清一区二区三区| 亚洲免费观看高清完整版在线| av一本久道久久综合久久鬼色| 日本一区二区三区在线观看| 麻豆国产精品官网| 日韩精品免费视频人成| 欧美日韩国产综合视频在线观看| 亚洲欧洲99久久| 色综合天天性综合| 亚洲香蕉伊在人在线观| 99久久er热在这里只有精品66| 国产欧美视频在线观看| 国产精品一二三四| 国产精品久久久久aaaa| 97久久精品人人做人人爽| 国产精品麻豆一区二区| 97精品国产露脸对白| 亚洲色图在线视频| 91极品美女在线| 天天色综合成人网| 91精品国产麻豆国产自产在线| 丝袜美腿亚洲一区二区图片| 粉嫩av一区二区三区在线播放| 欧美一级理论片| 亚洲女子a中天字幕| 91久久精品一区二区| 亚洲成人av一区二区三区| 欧美一区二区三区在线视频| 激情小说亚洲一区| 国产精品人人做人人爽人人添| 成人短视频下载| 亚洲国产精品久久艾草纯爱| 91精品国产综合久久久蜜臀粉嫩| 国模无码大尺度一区二区三区| 国产精品色在线观看| 欧美午夜精品久久久久久超碰| 热久久一区二区| 国产精品免费久久久久| 欧美视频日韩视频在线观看| 久久精品国产一区二区三| 中文字幕av免费专区久久| 91福利视频在线| 国产精品美女久久福利网站| 91美女在线观看| 无码av中文一区二区三区桃花岛| 色综合 综合色| 日日摸夜夜添夜夜添国产精品 | 欧美性猛片xxxx免费看久爱| 亚洲精品国产一区二区精华液| 欧美天堂一区二区三区| 五月天中文字幕一区二区| 久久九九国产精品| 制服丝袜日韩国产| av一区二区不卡| 久久99精品久久久久| 亚洲男同1069视频| 久久亚洲捆绑美女| 欧美日韩和欧美的一区二区| 成人一区二区在线观看| 美洲天堂一区二卡三卡四卡视频| 中文字幕精品—区二区四季| 日韩丝袜美女视频| 99久久国产综合精品麻豆| 国产在线麻豆精品观看| 亚洲成人动漫在线免费观看| 欧美激情一区在线观看| 欧美一区二区福利视频| 高清免费成人av| 韩国一区二区三区| 成人黄色av电影| 在线欧美一区二区| av资源站一区| 国产不卡视频一区| 国产一区二区视频在线播放| 奇米精品一区二区三区在线观看 | 国产麻豆一精品一av一免费| 图片区小说区区亚洲影院| 亚洲午夜激情av| 久久久青草青青国产亚洲免观| 国产综合一区二区| 韩国三级中文字幕hd久久精品| 午夜在线成人av| 午夜精品福利视频网站| 一区二区三区四区不卡在线 | 中文字幕乱码日本亚洲一区二区| 精品国产乱码久久久久久免费| 日韩一级在线观看| 日本电影亚洲天堂一区| 久久99国产乱子伦精品免费| 国产在线精品一区二区三区不卡| 精品在线免费视频| 日韩高清在线一区| 免费观看在线色综合| 精品一区二区三区在线播放| 经典三级在线一区| 韩国一区二区在线观看| 粉嫩久久99精品久久久久久夜|