计算机组成原理与汇编语言程序设计作业答案 下载本文

内容发布更新时间 : 2024/5/17 18:01:28星期一 下面是文章的全部内容请认真阅读。

is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, is《计算机组成原理与汇编语言程序设计》作业答案

第一章

1、先编写程序,再由计算机将这些程序存储起来,然后就可以连续地、快速地执行程序,从而实现各种运算处理。 2、 (1)、能在程序控制下自动连续地工作。

(2)、运算速度快。 (3)、运算精度高 (4)、具有很强的信息存储能力 (5)、通用性强,应用领域极其广泛 3、 (1)、基本字长

(2)、数据通路宽度 (3)、运算速度 (4)、主存储器容量 (5)、外存容量 (6)、配置的外围设备及其性能 (7)、系统软件配置

第二章

1、十进制42.25 BCD码. 4、二进制 .

八进制113.256 十六进制4B.57 6、 原码 补码 (1) (2) (3) 0. 0. (4) 1. 1. (5) (6)

8、原码 1.0110 真值 -0.0110

?159、(1) 0.0001 2

?15

(2) 0.1111 1-2

?15(3) 1.0001 -2(4) 1.1111 -(1-2

?15)

12、 15、(1)1200H

(2) A307H 1001H (3) 1200H 1002H (4) F03CH

is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, is 16、外设编址方法有两种 (1) 外围设备单独编址:为各I/O接口中的有关寄存器分配I/O端口地址,

各设备有自己的接口,一个接口可占有若干个I/O端口地址,其数目可以不同。

(2) 外围设备与主存统一编址:将I/O接口中的有关寄存器与主存单元统

一编址,为它们分配统一的总线地址。

第三章

3、(1)

+)

正溢

(3) +)

无溢出 4、(1)

-) 无溢出

6、(2)结果为 (步骤参看教材) 7、(1)商 1101 余数 0010 (步骤参看教材)

11 、组合逻辑控制器是指产生控制信号即微命令的部件,是用组合逻辑线路来实现的。

将机器指令分解为基本的微命令序列,用二进制代码表示这些微命令,并编成微指令,多条微指令再形成微程序,采用微程序控制方式来产生微命令,相应的控制器称为微程序控制器

组合逻辑控制器速度快,核心部分比较繁琐,零乱,设计效率较低,检查调试也比较困难,很难修改与扩展。微程序控制器速度慢设计效率较高,易于修改与扩展。

第四章

1、段寄存器CS:存放当前代码段首址的高16位,即段基值。

DS:用于存放当前数据段的段基值

SS:存放当前堆栈段的段基值 ES:存放当前附加段的段基值。

指针寄存器SP特定用于存放堆栈段中栈顶字单元相对堆栈段基址的偏移量。 基址指针BP用于指向堆栈段内某一主存单元。 变址指针SI和DI作为段内偏移量的组成部分。 数据寄存器AX,BX,CX,DX用以存放16位数据 指令指针IP提供下一条指令地址

标志寄存器FR用来记录程序执行时的状态。 3、(1) +=

OF=0 ZF=1 SF=0 CF=1 4、地址 数据 002b0h 53h

is responsible for Organization training, and implementation, and check; 12, master workshops annual economic indicators of implementation, reporting to financial health on a regular basis; 13, is responsible for the daily oversight in the allocation and use of funds; 14, responsible for all Department statistics, collecting, sorting, reporting of accounting reports; 15, the company responsible for the supervision of the Treasury, including the \d grade\y, a library of materials, products for regular inventory handling, sampling, storage monitoring, the picking work, and provide the inventory report, and make the appropriate accounting treatment; 16, responsible for waste and recycling, transportation and settlement; 17, is responsible for all product sales accounting functions; 18, responsible for the company's raw materials, auxiliary materials, account management; 19, is responsible for the flow of control of all assets of the company, according to the changes in accounting treatment offixed assets and assets to the departments responsible for clearing, settlement and asset monthly report submitted to the asset management section of the Finance Department of the company organized on a company-wide special inspection of asset management; 20, according to the company's business activities, monthly projects involved in the business activities of the company (including expenses, business management, cost control, cash flow, revenue, etc) financial analysis, provide a basis for decisions for the company, the business of the company responsible for monitoring, forecasting and risk analysis; 21, responsible for the settlement of transactions with the Bank; 22, is002b1h 2ch 002b2h

002b3h 0eh 002b4h 1fh

7、(1) 0007 (2)3400

12、原操作数 目的操作数 有效地址 EA (1)立即数寻址 寄存器寻址

(2)直接寻址 寄存器寻址 DATA1 (3)寄存器寻址 寄存器寻址

(4)直接寻址 寄存器寻址 VAR1+2 (5)寄存器寻址 寄存器间接寻址 SI (6)立即数寻址 基址寻址 BX+ARRY (7)寄存器寻址 直接寻址 01FEH (8)寄存器寻址 基址变址寻址 BP+DI (9)基址变址寻址 寄存器寻址 BX+SI-19 (10)寄存器寻址 (11)寄存器寻址

14、CF=1 SF=0 AF=1 OF=0 ZF=0

17、(DS)=1200H (SI)=464H (AX)=6156H 18、(AX)=0A1C6H CF=1 28、(1)LAHF

OR AH,80H SAHF (2) MOV CL,4

ROR AL,CL

30、CISC即复杂指令系统计算机 RISC 即精简指令系统计算机 31、(1)大多数指令在一个机器周期内完成 (2) 采用LOAD/STORE结构 (3) 较少的指令数和寻址方式 (4) 固定的指令格式 (5) 面向寄存器的结构 (6) 硬不线控制逻辑 (7) 注重编译的优化

第五章

1,(1)-----(6)正确 (7),(8)错误 原操作数与目的操作数类型不相符 4、AX=1234H BL=34H 5、SI=7812H DS=0CD56H 8、AX=0 DX=5550H

11、AX=56D4H BX=0ADA8H CF=0 DATA2内容A887H 、34ADH 23、AX=0308H