91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫EECS 113、Python/Java程序代做

時間:2024-05-02  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Processor Hardware/Software Interface
EECS 113
Assignment 2
University of California, Irvine
Assigned: April, 21, 2024
Due: April, 30, 2024 by 11:59PM
1 8051 Microcontroller Programming using Edsim51
If you have not already installed Edsim51 simulator, follow these instructions:
http://www.edsim51.com/installationInstructions.html
To see a list of all assembly commands, visit the following link:
https://www.keil.com/support/man/docs/is51/is51_opcodes.htm
To see a list of all characters, visit the following link:
where each element is an 8-bit number, you are required to write a program
that computes the sum of products of the elements in each row, i.e. find (a*b)+(c*d) and store the result
in the memory. The matrix should be added in code memory starting from location 30H as strings
in ASCII format. To make the computations easier, the elements of the 2x2 matrix 
a b
c d
should be
stored in a single array as follows: a,b,c,d. Use the following template to put the individual test cases
in your code memory:
ORG 0
SJMP MAIN
ORG 30H
N1: DB ”10,04,20,01” ;a=10, b=04, c=20, d=01
DB 0
ORG 50H
MAIN: ...
1
To run arithmetic operations on numbers in string format, you have to convert the strings to decimal
numbers. For instance, the {0x36H,0x34H,0x39H,0x30H} sequence represents the number 64**. Check
the ASCII table for full details on ASCII representation. Each character in this string (including the
commas) will be stored in an 8-bit memory location, so for the example given above, the code memory
starting address 30H will look as follows:
(30H)=0x31H, (31H)=0x30H, (**H)=0x2cH, (33H)=0x30H, (34H)=0x34H, (35H)=0x2cH,
(36H)=0x**H, (37H)=0x30H, (38H)=0x2cH, (39H)=0x30H, (3AH)=0x31H.
You can use the DPTR to point to data in your code memory. The steps that your program needs to
go through are:
1. Initialize the DPTR to N1 and initialize any registers that you might need.
2. loop over the digits one-by-one by increasing DPTR until you reach a comma to find the value of
the first element a and store it in the register R2.
3. go through another round of loading the digits one-by-one until you reach a comma to find the
second element b and store it in register R3.
4. multiply a and b and save the 16-bit output in locations 50H (MSB) 51H (LSB) in data memory.
5. repeat the previous process for c and d, and add the result from a*b and store it back in memory
locations 50H and 51H. Keep in mind that this addition operation should be computed on 16-bit
values, so you can use what you learned in Assignment 1!
You can use the comma and null characters, along with conditional jumps to determine if you have
reached the end of the ASCII representation of an element and jump to the next step in your program.
Store the 16-bit output result on location 50H(MSB) and 51H(LSB) on the data memory as regular
hexadecimal numbers. You do not need to convert the output to string! The input numbers are 8 bits
or less than 256.
Test your code for the following cases:
Case1: a=02, b=12, c=15, d=03
EXPECTED OUTPUT: 50H=00H , 51H=45H (2*12+15*3 = 69 which is 45H in hex system)
Case2: a=40, b=07, c=36, d=10
EXPECTED OUTPUT: 50H=02H, 51H=80H (40*07+36*10 = 640 which is 280H in hex system)
2 Bonus point (10%)
Save the output in decimal system and in ASCII format, i.e. convert each digit to ASCII representation
and save them on data memory, starting from 60H. The most significant digit should be stored in 60H.
You can assume the output is always less than 256 (8 bits).
Case1: a=02, b=12, c=15, d=03,
EXPECTED OUTPUT: (50H)=00H, (51H)=45H, (60H)=30H, (61H)=30H, (62H)=34H, (63H)=35H
(0045 in ASCII is 00003435H)
Case2: a=40, b=07, c=36, d=10
EXPECTED OUTPUT: (50H)=02H, (51H)=80H (60H)=30H, (61H)=**H, (62H)=38H, (63H)=30H
(0280 in ASCII is 00**3830H)
2
3 Assignment Deliverable
- To facilitate the grading process, submit a .txt file for the code and a .pdf file for the report.
- Your code should be commented and easy to read.
- Your report should contain brief details on how the code works, plus the screenshots showing the final
memory and register values for each test case.
- Submit the assignment before the deadline through Canvas.

 

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






















 

掃一掃在手機打開當前頁
  • 上一篇:哪個國家簽證能免簽菲律賓 免簽條件有哪些
  • 下一篇:COMP1117B代做、代寫Python編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    欧洲日韩一区二区三区| 欧美一级日韩不卡播放免费| 亚洲午夜极品| 一区二区国产在线观看| 国产精品久久波多野结衣| 一区二区三区国产盗摄| 亚洲免费网址| 亚洲综合欧美| 欧美人妇做爰xxxⅹ性高电影| 5566中文字幕一区二区电影 | 日韩亚洲电影在线| 精品区一区二区| 亚洲欧美区自拍先锋| 午夜不卡av免费| 国产精品1区二区.| 91在线视频观看| 国产精品久久国产三级国电话系列| 国产精品亚洲一区| 欧美一区二区三区喷汁尤物| 国产清纯在线一区二区www| 亚洲综合视频在线| 国产 欧美在线| 精品999日本| 欧美人伦禁忌dvd放荡欲情| 国产亚洲女人久久久久毛片| 中文在线免费一区三区高中清不卡| 亚洲一区二区三区四区在线观看| 久久97超碰色| 欧美日韩国产三级| 麻豆成人小视频| 国产日韩精品一区二区浪潮av| 一区二区三区在线视频观看| 国产成人免费在线视频| 久久国产精品亚洲va麻豆| 亚洲精品一区二区三区精华液| 日韩和欧美一区二区三区| 欧美国产激情| 精品国产91洋老外米糕| 久久精品国产网站| 久久九九国产| 国产精品青草综合久久久久99| 韩国中文字幕2020精品| 久久综合图片| 国精产品一区一区三区mba桃花 | 亚洲国产色一区| 91在线视频观看| 欧美日韩一区高清| 视频在线观看一区二区三区| 亚洲国内在线| 亚洲精品一二三| 国产欧美日韩一区二区三区| 亚洲国产精品久久不卡毛片| 欧美视频导航| 亚洲视频综合在线| 色婷婷av一区二区三区之一色屋| 日韩有码一区二区三区| 色婷婷亚洲婷婷| 亚洲a一区二区| 欧美性感一类影片在线播放| 国产亚洲激情| 天天综合色天天| 欧美亚洲综合在线| 成人综合在线观看| 91精品国产91久久久久久最新毛片| 99精品久久免费看蜜臀剧情介绍| 久久亚洲综合av| 亚洲婷婷免费| 极品少妇一区二区| 国产婷婷色一区二区三区在线| 99riav1国产精品视频| 黄色日韩三级电影| 亚洲色图色小说| 欧美另类久久久品| 日韩一区二区免费看| 国产老女人精品毛片久久| 久久精子c满五个校花| 一本不卡影院| av在线不卡电影| 亚洲午夜视频在线| 日韩欧美国产综合| 久久久久久久尹人综合网亚洲 | 波多野结衣一区二区三区 | 亚洲国产视频a| 亚洲精品一区二区三区香蕉| 国产伦理一区| 不卡av在线网| 狠狠色丁香久久婷婷综合_中| 国产欧美日本一区视频| 欧美一区二区三区四区五区| 精品入口麻豆88视频| 一本久久综合| 狠狠色噜噜狠狠色综合久| 91麻豆免费观看| 久久99久久久久久久久久久| 亚洲午夜av在线| 国产精品乱人伦一区二区| 精品国产在天天线2019| 69堂国产成人免费视频| 欧美日韩亚洲国产综合| 欧美系列日韩一区| 欧美精品18+| 欧美日韩国产天堂| 欧美精品乱码久久久久久| 欧美亚洲一区二区三区四区| 欧美性淫爽ww久久久久无| 在线观看一区二区视频| 91黄视频在线| 欧美一级在线免费| 久久精品视频一区二区三区| 久久久久国产精品厨房| 中文字幕精品三区| 亚洲三级在线看| 午夜久久久久久电影| 视频一区欧美精品| 久久99精品一区二区三区| 老汉av免费一区二区三区| 国产不卡高清在线观看视频| 成人福利视频网站| 亚洲一区二区成人| 欧美视频在线观看一区二区| 7777精品久久久大香线蕉 | 久久久久久久久久美女| 国产日韩亚洲欧美综合| 亚洲综合精品自拍| 成人久久久精品乱码一区二区三区| 伊人蜜桃色噜噜激情综合| 欧美在线你懂的| 亚洲人成伊人成综合网小说| 日韩高清在线观看| 99久久久久久99| 久久久国产亚洲精品| 日韩视频中午一区| 五月天国产精品| 欧美先锋影音| 精品免费国产二区三区| 午夜久久福利影院| 高清av一区二区| 久久婷婷久久| 亚洲天堂久久久久久久| 韩国中文字幕2020精品| 日韩午夜精品| 欧美精品一区二区久久婷婷| 视频一区二区三区入口| 亚洲伦伦在线| 亚洲免费看黄网站| 激情成人综合| 17c精品麻豆一区二区免费| www.亚洲国产| 日韩欧美一二区| 91亚洲精华国产精华精华液| 亚洲中午字幕| 亚洲一区二区三区在线看| 亚洲经典在线| 美女视频黄免费的久久 | 亚洲午夜视频在线观看| 国产亚洲一区二区三区四区 | 欧美性xxxxxxxx| 国产在线日韩| 1024亚洲合集| 国产精品推荐精品| 亚洲国产一区视频| 色又黄又爽网站www久久| 国内精品伊人久久久久av一坑| 欧美一二三区在线| 国产风韵犹存在线视精品| 久久久久亚洲蜜桃| 亚洲精品一区二区三| 亚洲国产sm捆绑调教视频| 亚洲久色影视| 老汉av免费一区二区三区 | 不卡影院免费观看| 538在线一区二区精品国产| 国产传媒欧美日韩成人| 日韩视频一区二区在线观看| 99精品国产99久久久久久白柏 | 国产乱子轮精品视频| 国产欧美日韩不卡| 久久久久久婷| 成人h精品动漫一区二区三区| 最新日韩av在线| 在线综合视频播放| 欧美破处大片在线视频| 夜夜揉揉日日人人青青一国产精品| 91福利区一区二区三区| 国产v日产∨综合v精品视频| 一区二区视频在线| 欧美日韩午夜精品| 久久本道综合色狠狠五月| 波多野结衣中文字幕一区| 亚洲欧美综合在线精品| 欧美日韩精品三区| 国产精品www.| 精品写真视频在线观看| 亚洲一区二区3| 国产精品久久久久一区二区三区| 欧美伦理视频网站| 一本久道久久综合狠狠爱| 国产99久久久精品| 美女性感视频久久| 亚洲制服丝袜一区|