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

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

?? 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();
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一级二级三级在线免费观看| 免费在线观看一区| 欧美日韩一区二区三区在线 | 国产白丝网站精品污在线入口| 久久精品综合网| 色婷婷av一区二区三区软件| 久久精品国产网站| 一区二区三区日韩欧美精品| 日韩一区二区三区视频| 成人综合婷婷国产精品久久免费| 亚洲图片有声小说| 国产精品毛片大码女人| 国产午夜精品一区二区三区视频| 色菇凉天天综合网| 国产福利91精品| 国产最新精品免费| 日韩高清在线一区| 亚洲精品乱码久久久久久黑人| 国产精品美女一区二区在线观看| 91超碰这里只有精品国产| 在线免费观看日本一区| 本田岬高潮一区二区三区| 国产精品一区二区不卡| 久久99精品国产麻豆婷婷| 亚洲一区二区三区激情| 亚洲综合免费观看高清完整版 | 国产精品538一区二区在线| 狠狠狠色丁香婷婷综合激情 | 一区二区三区中文字幕在线观看| 欧美国产一区二区在线观看| 国产日韩精品视频一区| 久久综合色婷婷| 日本一区二区三区dvd视频在线| 国产欧美日韩麻豆91| 国产欧美日韩三级| 亚洲不卡av一区二区三区| 日本午夜一区二区| 国产99久久久国产精品潘金网站| 99精品视频在线免费观看| av色综合久久天堂av综合| 成人免费看片app下载| 欧美日韩国产美| 精品毛片乱码1区2区3区| 久久久精品日韩欧美| 亚洲天堂免费看| 午夜不卡av免费| 99视频精品在线| 欧美一区二区不卡视频| 中文字幕一区av| 精品一区二区三区不卡 | 欧美日韩在线一区二区| 日本一区二区三区在线不卡| 亚洲国产一区在线观看| 99re8在线精品视频免费播放| 欧美日韩精品三区| 一区二区三区精品久久久| 激情综合一区二区三区| 91精品国产综合久久香蕉麻豆| 亚洲精品成人a在线观看| 久久电影网站中文字幕| 欧美日韩国产综合视频在线观看| 亚洲蜜臀av乱码久久精品 | 高清在线成人网| 精品国产99国产精品| 奇米一区二区三区av| 欧美另类videos死尸| 日韩精品一区第一页| 日韩一级片网站| 国产美女视频91| 国产日产欧美精品一区二区三区| 久久成人av少妇免费| 国产无遮挡一区二区三区毛片日本| 久久aⅴ国产欧美74aaa| 欧美国产亚洲另类动漫| 91精品国产全国免费观看| 亚洲人成网站在线| 欧美日韩国产天堂| 精品无人码麻豆乱码1区2区| 国产午夜精品久久久久久久| 91丨porny丨中文| 午夜精品一区二区三区免费视频| 欧美日韩在线播放三区| 蜜桃视频一区二区| 国产精品卡一卡二| 日韩精品在线看片z| av亚洲精华国产精华精| 蜜臀91精品一区二区三区| 日本一区二区三区视频视频| 欧洲视频一区二区| 高清不卡一区二区| 偷偷要91色婷婷| 亚洲精品视频在线| 久久精品人人做人人综合 | 蜜桃一区二区三区四区| 最新欧美精品一区二区三区| 日韩欧美国产精品一区| 久久婷婷成人综合色| 欧美三级资源在线| 99视频精品免费视频| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲成av人片一区二区梦乃| 国产精品久久99| 欧美激情综合五月色丁香| 337p日本欧洲亚洲大胆精品| 欧美美女bb生活片| 欧美军同video69gay| 91官网在线免费观看| 91国产视频在线观看| 欧美日本在线视频| 日韩精品一区二区三区在线播放| 色偷偷一区二区三区| 91女人视频在线观看| 色美美综合视频| 欧美色图一区二区三区| 欧美日韩夫妻久久| 日韩一区二区影院| 国产日韩欧美高清在线| 亚洲少妇30p| 免费成人av资源网| 成人一区二区视频| aaa欧美日韩| 日韩视频免费观看高清完整版| 欧美一区二区三区影视| 国产日韩欧美不卡| 日本最新不卡在线| 国产成人精品亚洲日本在线桃色| 成人av片在线观看| 欧美探花视频资源| 久久久久久久久久美女| 亚洲欧美国产77777| 黑人精品欧美一区二区蜜桃| 91福利小视频| 久久免费偷拍视频| 日韩精品久久理论片| 一本到不卡精品视频在线观看| 国产精品卡一卡二| 午夜伦理一区二区| 91美女片黄在线| 国产欧美一区二区三区在线老狼| 秋霞影院一区二区| 欧美日韩美女一区二区| 亚洲精品日产精品乱码不卡| 国产主播一区二区三区| 欧美大胆人体bbbb| 亚洲va中文字幕| 欧美日韩免费一区二区三区| 一区二区三区**美女毛片| 国内精品免费在线观看| 日韩丝袜情趣美女图片| 奇米色一区二区| 91精品欧美久久久久久动漫| 午夜电影久久久| 日韩欧美国产麻豆| 激情综合五月天| 国产偷v国产偷v亚洲高清| 国产麻豆成人传媒免费观看| 国产亚洲欧美日韩日本| 成人一区二区在线观看| 中文字幕在线观看不卡| 91色九色蝌蚪| 久久99精品久久久久婷婷| 国产精品人人做人人爽人人添| 欧美在线观看18| 美国十次综合导航| 亚洲欧洲日本在线| 在线精品视频免费观看| 五月婷婷综合激情| 久久婷婷国产综合国色天香| 26uuu另类欧美亚洲曰本| 韩国精品一区二区| 天堂av在线一区| 国产午夜精品一区二区三区嫩草 | 91精品在线麻豆| 91一区一区三区| 国产一区二区精品久久| 亚洲 欧美综合在线网络| 国产精品全国免费观看高清 | 99视频精品在线| 国产一区二区在线电影| 五月婷婷欧美视频| 亚洲一区二区在线观看视频| 国产无人区一区二区三区| 欧美猛男男办公室激情| 99精品欧美一区二区三区综合在线| 免费一级欧美片在线观看| 亚洲国产美国国产综合一区二区| 国产精品久久免费看| 国产精品久久久久久久午夜片| 亚洲精品在线电影| 日韩美一区二区三区| 日韩欧美一级在线播放| 精品免费99久久| 欧美国产欧美综合| 中文字幕免费不卡在线| 国产精品乱码妇女bbbb| 国产精品成人在线观看| 国产精品久久久久久一区二区三区| 国产嫩草影院久久久久| 国产精品国产三级国产aⅴ原创 | 五月天激情综合|