题目内容 (请给出正确答案)
[单选题]

汇编程序中语句DAT1DB02H的含义是()

A.用DAT1表示02H

B. 定义DAT1为变量,其初值为02H

C. 从标号DAT1对应的地址起02H个单元被分配

D. 定义DAT1为变量,其地址为0002H

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“汇编程序中语句DAT1DB02H的含义是()”相关的问题

第1题

请补充完整程序,使得程序能实现以下功能:从文件IN.dat...

请补充完整程序,使得程序能实现以下功能:

从文件IN.dat中读取200个整数至数组number中,求出最大数max及最大数的个数cnt和数组number中能被3整除或能被7整除的算术平均值ave(保留2位小数)。把结果max、 cnt、ave输出到OUT. dat文件中。

注意:部分程序、读数据函数read_ dat (int number[200])及输出格式已给出。

include <conio. h>

include <stdio. h>

define N 200

void read_ dat(int number[N])

{ int i, j;

FILE *fp;

fp = fopen("IN. dat", "r");

for (i=0; i<20; i++)

{ for (j=0; j<10; j++)

{ fscanf(fp, "%d,", &number[i*10+j]);

printf("%d ", number[i*10+j]);

}

printf ("\n");

}

fclose (fp);

}

void main ()

{ int cnt, number[N], max;

float ave;

FILE *fw;

int i, k; '

long j = 0;

fw = fopen("OUT.dat", "w");

read_ dat (number);

/ ************************************************ /

/ ************************************************ /

printf("\n\nmax=%d, cnt=%d, ave=%6.2f\n", max, cnt, ave);

fprintf(fw, "%d\n%d\n%6.2f\n", max, cnt, ave);

fclose (fw);

}

点击查看答案

第2题

已知在文件IN.dat中存有若干个(少于200个)四位数字的...

已知在文件IN.dat中存有若干个(少于200个)四位数字的正整数,函数ReadDat()读取这若干个正整数并存入数组number中。请编写函数CalValue(),其功能要求是:①求出文件中共有的正整数个数totNum;②求这些数右移1位后,产生的新数是奇数的数的个数totCnt以及满足此条件的这些数(右移前的值)的算术平均值totAve。最后调用函数writeDat()把所求的结果输出到OUT.dat文件中。

注意:部分源程序已经给出。请勿改动主函数main()、读函数ReadDat()和写函数writeDat()的内容。

include <stdio.h>

include <conio. h>

define MAXNUM 200

int number [MAXNUM];

int totNum = 0; /* 文件IN.dst 中共有的正整数个数*/

int totCnt = 0; /* 符合条件的正整数的个数*/

double totAve = 0.0; /* 平均值 */

int ReadDat (void);

void writeDat(void);

void CalValue(void)

{

}

void main ()

{ int i;

for (i=0; i<MAXNUM; i++)

number [i] = 0;

if (ReadDat())

{ printf (" 数据文件 IN.dst 不能打开! \007\n");

return;

}

CalValue ();

printf(" 文件 IN.dst 中共有的正整数个数=%d个\n", totNum);

printf (" 符合条件的正整数的个数 =%d个\n", totCnt);

printf("平均值=%.2f\n", totAve);

writeDat ();

}

int ReadDat (void)

{ FILE *fp;

int i = 0;

if ((fp = fopen("IN.dat", "r")) == NULL)

return 1;

while (!feof(fp))

fscanf(fp, "%d,", &number [i++]);

fclose (fp);

return 0;

}

void writeDat (void)

{ FILE *fp;

fp = fopen("OUT.dat", "w");

fprintf(fp, "%d\n%d\n%6.2f\n", totNum, totCnt, totAve);

fclose (fp);

}

点击查看答案

第3题

执行以下程序后,数据段中sum0字节单元中的内容是 H。 data segment blk1 db 90h,78h,56h,34h,12h
blk2 db 21h,43h,65h,87h,90h count equ $-blk2 sum0 db 6 dup (00h) data ends code segment assume cs:code, ds:data start: mov ax, data mov ds, ax lea si, blk1 lea bx,blk2 lea di,sum0 mov cx, count clc aa:mov al, [si] adc al, [bx] daa mov [di], al inc si inc bx inc di loop aa mov al, 00h adc al, 00h mov [di], al mov ah,4ch int 21h code ends end start

点击查看答案

第4题

已知数据文件IN27.DAT中存有300个4位数,并已调用读函...

已知数据文件IN27.DAT中存有300个4位数,并已调用读函数readDat()把这些数存入数组a中,请编制一函数jsValue(),其功能是:求出千位数上的数加百位数上的数等于十位数上的数加个位数上的数的个数 cnt,再把所有满足此条件的4位数依次存入数组b中,然后对数组b的4位数从大到小进行排序,最后调用写函数writeDat()把数组b中的数输出到OUT27.DAT文件。

例如:7153,7+1=5+3,则该数满足条件,存入数组b中,且个数cnt=cnt+1。

8129,8+1≠2+9,则该数不满足条件,忽略。

注意:部分源程序已给出。

程序中已定义数组:a[300],b[300],已定义变量:cnt。

请勿改动主函数main()、读函数readDat()和写函数writeDat()的内容。

试题程序:

include〈stdio.h>

int a[300], bi300], cnt=0;

void jsValue()

{

}

main ()

{

int i;

readDat ();

jsValue();

writeDat ();

printf("cnt=%d\n", cnt);

for(i = 0; i 〈 cnt; i++)

printf("b[%d]=%d\n", i, b[i]);

}

readDat ()

{

FILE *fp;

int i;

fp = fopen("IN27.DAT", "r");

for(i = 0; i 〈 300; i++)

fscanf(fp, "%d,", &a[i]

fclose (fp);

}

writeDat ()

{

FILE *fp;

int i;

fp = fopen("OUT27.DAT", "w");

fprintf (fp, "%d\n",cnt);

for(i = 0; i 〈 cnt; i++)

fprintf(fp, "%d,\n", b[i]);

fclose (fp);

}

点击查看答案

第5题

下列宏程序语句中,表达正确的是()
A.G65 H05 P#100 Q#102 R0

B.G65 H34 P#101 Q#103 R10.0

C.G65 H84 P # 110 Q # 120

D.G65 H03 P # 109 Q # 109 R # 110

点击查看答案

第6题

下列关于专利分类号H0IC1/00或C08Fll0/02中含义的说法哪些是正确的?()
A.H 代表部

B.C08F 代表大类

C.H0IC1/00 代表小组

D.C08Fll0/02 代表小组

点击查看答案

第7题

DA1DW2A05H\nDA2DB0FAH\n┇\nMOVAL,BYTEPTRDA1\nSUBDA2...

DA1DW2A05H\nDA2DB0FAH\n┇\nMOVAL,BYTEPTRDA1\nSUBDA2,AL\n上述指令执行后,DA2中的内容是()。

A、0DAH

B、0FAH

C、0F5H

D、0D0H

点击查看答案

第8题

若有如下语句include<iostream.h>voidmain(){in...

若有如下语句

include<iostream.h>

voidmain()

{

intx=3:

do{

x=X-2:

cout<<X;

}while(!(--x));

}

则上面程序段()。

A.输出的是1

B.输出的是1和-2

C.输出的是3和0

D.是死循环

点击查看答案

第9题

A.可直接进人呼吸链氧化

B.在线粒体内膜外侧使α-磷酸甘油转变成磷酸二羟丙酮后进入线粒体

C.仅仅需要内膜外侧的磷酸甘油脱氢酶的催化后即可直接进人呼吸链

D.经α-磷酸甘油穿梭作用后可进人琥珀酸氧化呼吸链

E.上述各条都不能使胞液中NA.D.H进人呼吸链氧化

点击查看答案

第10题

The geology of the Earth's surface is dominated by...

The geology of the Earth's surface is dominated by the particular properties of water. Present on Earth in solid, liquid, and gaseous states, water is exceptionally reactive. It dissolves, transports, and precipitates many chemical compounds and is constantly modifying the face of the Earth. Evaporated from the oceans, water vapor forms clouds, some of which are transported by wind over the continents. Condensation from the clouds provides the essential agent of continental erosion: rain. Precipitated onto the ground, the water trickles down to form brooks, streams, and rivers, constituting what are called the hydrographic network. This immense polarized network channels the water toward a single receptacle: an ocean. Gravity dominates this entire step in the cycle because water tends to minimize its potential energy by running from high altitudes toward the reference point, that is, sea level. The rate at which a molecule of water passes though the cycle is not random but is a measure of the relative size of the various reservoirs. If we define residence time as the average time for awater molecule to pass through one of the three reservoirs — atmosphere, continent, and ocean — we see that the times are very different. A water molecule stays, on average, eleven days in the atmosphere, one hundred years on a continent and forty thousand years in the ocean. This last figure shows the importance of the ocean as the principal reservoir of the hydrosphere but also the rapidity of water transport on the continents. A vast chemical separation process takes places during the flow of water over the continents. Soluble ions such as calcium, sodium, potassium, and some magnesium are dissolved and transported. Insoluble ions such as aluminum, iron, and silicon stay where they are and form thethin, fertile skin of soil on which vegetation can grow. Sometimes soils are destroyed and transported mechanically during flooding. The erosion of the continents thus results from two closely linked and interdependent processes, chemical erosion and mechanical erosion. Their respective interactions and efficiency depend on different factors. The word "modifying" in line 4 is closest in meaning toA.changing

B.traveling

C.describing

D.destroying

The word "which" in line 5 refers toA.clouds

B.oceans

C.continents

D.compounds

What determines the rate at which a molecule of water moves through the cycle, as discussed inthe third paragraph?A.The potential energy contained in water

B.The effects of atmospheric pressure on chemical compounds

C.The amounts of rainfall that fall on the continents

D.The relative size of the water storage areas

The word "they" in line 24 refers toA.insoluble ions

B.soluble ions

C.soils

D.continents

All of the following are example of soluble ions EXCEPTA.magnesium

B.iron

C.potassium

D.calcium

The word "efficiency" in line 27 is closest in meaning toA.relationship

B.growth

C.influence

D.effectiveness

The passage suggests that the purpose of the "hydrographic network" (line 8) is toA.determine the size of molecules of water

B.prevent soil erosion caused by flooding

C.move water from the Earth's surface to the oceans

D.regulate the rate of water flow from streams and rivers

According to the passage , clouds are primarily formed by waterA.precipitating onto the ground

B.changing from a solid to a liquid state

C.evaporating from the oceans

D.being carried by wind

The word "rapidity" in line 19 is closest in meaning toA.significance

B.method

C.swiftness

D.reliability

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信