代做CSCI 2525、c/c++,Java程序語言代寫

            時(shí)間:2024-03-13  來源:  作者: 我要糾錯(cuò)



            CSCI 2525 Assignment 3
            Create the two programs described below. Upload them to Canvas prior to the
            due date.
            1. reorder.asm
            - rearranges the values of the following array into the order shown. Use
            only MOV and XCHG to accomplish the desired result. Do not use any immediate
            values except in the .data section. Use only direct offset addressing to
            accomplish the goal. Be as efficient as you can. Note: You will have to look in
            memory to see if you have achieved your goal. You may not create other data
            elements to assist with this problem.
            Original Array: MyArray WORD 5767h, 2132h, 4798h
            At the end of this part of the assignment, the array will be in increasing order.
            This means in memory, not just the registers.
            You will be using a new Irvine Library function. DumpMem.
            In order to use this you need the following information.
            ESI = Offset of myArray
            ECX = # of elements in myArray. Use the $ directive in .data to get this
            information.
            EBX = unit size (good place to use TYPE instruction).
            After you have the information required in ESI, ECX, and EBX, you will simply type
            call DumpMem on the next line.
            To be clear, it will be something like the following (where you will fill in the
            xxxxxxx)
            mov esi, xxxxxxx
            mov ecx, xxxxxxx
            mov ebx, xxxxxxx
            call dumpmem
            2. fibonacci.asm
            - computes the following.
            a. Compute fib(n) for n = 2, 3, …, 9 using an array, of the appropriate
            size and type. If you so desire, you may declare a value for fib(0) and
            fib(1). However, all computation of the remaining elements of the
            array must be done by your program, no use of immediate values is
            allowed. In other words, you must use the formula shown below
            (figure 1) to determine the values of the remainder of the required
            elements. Do not declare an array pre-filled with the required
            elements.
            b. After your array is filled with required values, store fib(5) through
            fib(9) in consecutive bytes of the ebx register starting from the
            lowest byte; that is, fib(5) is stored in the low byte (bl) of ebx, fib(6)
            is stored in the next byte (bh), fib(7) is stored in the next byte of ebx
            and fib(8) is stored in the highest byte.
            Figure 1: Information on the Fibonnaci sequence
            Notes for Fibonacci.asm
            1. Assume fib(0)=0, fib(1)=1. These are the only two values you may directly
            initialize in the .data section. You can declare them as part of the array.
            2. You may use any instruction/directive/operator through chapter 4 pg 128,
            including any of the arithmetic operators +, *, /, -.
            3. Your program must use indirect operands in some way as discussed in
            chapter 4.
            4. Your program must calculate all values of the Fibonacci sequence except
            Fib(0) and Fib (1).
            5. You must use a loop.
            Specifications for Entire Assignment
            1. Your program must make calls to DumpRegs as necessary.
            2. You may not use immediate values for any portion of this assignment except
            where specifically allowed.
            Example: mov ebx, 08050302 ;// This is not allowed
            請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

            標(biāo)簽:

            掃一掃在手機(jī)打開當(dāng)前頁
          1. 上一篇:IEMS 5730代做、c++,Java語言編程代寫
          2. 下一篇:代寫CISC221、Java/Python設(shè)計(jì)編程代做
          3. 無相關(guān)信息
            昆明生活資訊

            昆明圖文信息
            蝴蝶泉(4A)-大理旅游
            蝴蝶泉(4A)-大理旅游
            油炸竹蟲
            油炸竹蟲
            酸筍煮魚(雞)
            酸筍煮魚(雞)
            竹筒飯
            竹筒飯
            香茅草烤魚
            香茅草烤魚
            檸檬烤魚
            檸檬烤魚
            昆明西山國家級風(fēng)景名勝區(qū)
            昆明西山國家級風(fēng)景名勝區(qū)
            昆明旅游索道攻略
            昆明旅游索道攻略
          4. NBA直播 短信驗(yàn)證碼平臺 幣安官網(wǎng)下載 歐冠直播 WPS下載

            關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

            Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
            ICP備06013414號-3 公安備 42010502001045

            主站蜘蛛池模板: 伊人久久精品一区二区三区| 国产在线一区二区三区在线| 午夜无码一区二区三区在线观看| 日本免费精品一区二区三区| 韩国美女vip福利一区| 国产一区二区三区高清视频| 国产视频福利一区| 国产成人精品第一区二区| 人妻体内射精一区二区三四| 精品人妻一区二区三区毛片| 日韩精品一区二区三区在线观看| 无码一区二区三区在线| 色综合视频一区二区三区44| 亚洲av乱码一区二区三区| 亚洲电影一区二区| 久久精品免费一区二区| 3d动漫精品成人一区二区三| 久久无码人妻一区二区三区| 日韩一区精品视频一区二区 | 日韩精品一区二区午夜成人版| 深田咏美AV一区二区三区| 国产麻豆精品一区二区三区| 波多野结衣一区视频在线| 国产手机精品一区二区| 中文乱码字幕高清一区二区| 亚洲欧美日韩一区二区三区| 国产乱码精品一区二区三区| 精品一区二区三区在线视频观看 | 国产AV午夜精品一区二区三区| 在线视频一区二区三区三区不卡| 色噜噜AV亚洲色一区二区| 又硬又粗又大一区二区三区视频| 亚洲色婷婷一区二区三区| 射精专区一区二区朝鲜| 亚洲一区二区三区高清不卡| 精品国产日韩一区三区| asmr国产一区在线| 一区二区三区国产精品| 亚洲AV无码国产精品永久一区| 国产一区二区三区国产精品| 亚洲综合av永久无码精品一区二区|