问题 填空题

阅读下述程序,指出宏指令ABC的功能是______。
1 ABC MACRO X1,X2,X3
2 LOCAL CONT
3 PUSH AX
4 MOV AX, X1
5 SUB AX, X2
6 CMP AX, 0
7 JGE CONT
8 NEG AX
9 CONT: MOV X3, AX
10 POP AX
11 ENDM
12 D0ATA SEGMENT
13 XDW 32
14 YDW 98
15 ZDW
16 DATA ENDS
17 CODE SEGMENT
18 ASSUME CS:CODE,DS:DATA
19 BEGIN:MOV AX, DATA
20 MOV DS, AX
21 ABC X,Y,Z
22 MOV AH, 4CH
23 INT 21H
24 CODE ENDS
25 END BEGIN

答案

参考答案:第一个参数减第二个参数,差的绝对值送第三个参数

解析: 首先分析宏定义部分,共有三个参数,功能为用第一个参数减第二个参数,判断结果的正负,若为负数,则取反,否则不变,结果送到第三个参数。源程序定义了三个变量,调用宏指令ABC时,前两个数相减得-66,取反为66,送回变量Z。

阅读理解

Do you know who is the most popular star on the Internet now? Yes, he is “Brother Coat”Zhu Zhiwen!

A few months ago, Zhu Zhiwen was an unknown farmer. A video of his show has been watched by more than millions of people,now his videos are the most popular. Zhu Zhiwen attracts Chinese netizens' hearts. And he is called “Brother Coat” by them.

In March 2011, he took part in a program called “I’m a Big Star”. He walked out onto the stage in a dark green coat. Then he began to sing the me song of the TV drama Romance of Three Kingdoms. When the audiences heard rich and powerful voice,all of them stood up and cheered. After that, he became a well-known person. The judges asked him if he had any professional training. Zhu said no.“When he started, I thought someone played the original tape(原声带) by mistake. But later on, I got it, "said one of them, “we can’t judge a book by its cover.” At last, he won the first prize in the program of “I’ m a Big Star”.

Zhu Zhiwen was born in a village of Shandong in 1969. He liked listening to the radio. When the music played, he sang it along. Every morning, he would get up early and practiced singing near a river. He keeps doing it for nearly 30 years.“When I’m working in the fields, ”said Zhu Zhiwen, “I often sing for myself, some villagers even think me crazy,but I really love it. I’m not singing for money, I’ m singing for ordinary people in China.”

Mrs. Sun, a 56­year­old engineer, one of his fans said, “I watched his videos without getting tired of it! It is amazing, and every time I watch it, I am filled with excitement and his voice is perfect! I am crossing my fingers in hope that he has a bright future.”

小题1:Who gave Zhu Zhiwen the nickname of “Brother Coat”?

A.His father.

B.The villagers.

C.His mother.

D.The netizens.小题2: When did Zhu Zhiwen become a well-known person?

A.In 1969.

B.In 2011

C.Two years ago.

D.A few years ago.小题3:Why did the audiences stand up and cheered when Zhu Zhiwen sang the song?

A.Because he was funny.

B.Because he wore a dark green coat.

C.Because his voice was rich and powerful.

D.Because he gave some gifts to the audiences.小题4:The underlined phrase “judge a book by cover” in Paragraph 4 means ________.

A.以貌取人

B.志存高远

C.众口铄金

D.哗众取宠小题5:Which of the following is TRUE?

A.Zhu Zhiwen is 45 years old now.

B.Mrs. Sun enujoys Zhu Zhiwen’s songs.

C.A famous singer taught Zhu Zhiwen to sing.

D.Zhu Zhiwen often sang for his fans when he was young.

判断题