问题 单项选择题

在CPU中,()可用于传送和暂存用户数据,为ALU执行算术逻辑运算提供工作区。

A.程序计数器

B.累加寄存器

C.程序状态寄存器

D.地址寄存器

答案

参考答案:B

解析:

程序计数器(PC)中存放的是下一条指令的地址。由于多数情况下程序是顺序执行的,因此程序计数器设计成能自加。当出现转移指令时,就需重填程序计数器。程序计数器可能是下一条指令的绝对地址,也可能是相对地址,即地址偏移量。

累加寄存器(AC)通常简称为累加器,它是一个通用寄存器。其功能是当运算器的算术逻辑单元(ALU)执行算术或逻辑运算时,为ALU提供一个工作区。累加寄存器暂时存放ALU运算的结果信息。显然,运算器中至少要有一个累加寄存器。

程序状态寄存器(PSW)用来存放两类信息:一类是体现当前指令执行结果的各种状态信息,如有无进位(CF位),有无溢出(OF位),结果正负(SF位),结果是否为零(ZF位),奇偶标志位(PF位)等;另一类是存放控制信息,如允许中断(IF位),跟踪标志(TF位)等。有些机器中将PSW称为标志寄存器(FlagRegister,FR)。

地址寄存器一般用于寻址操作,其中存放的是地址。

单项选择题
单项选择题

Now which are the animals really to be pitied in captivity First, those clever beings whose lively urge for activity can find no outlet behind the bars of the cage. This is most conspicuous, even for the uninitiated, in the case of animals which, when living in a free state, are accustomed to roaming about widely. Owing to this frustrated desire, foxes and wolves housed, in many old-fashioned zoos, in cages which are far too small, are among the most pitiable of all caged animals.
Though pinioned swans generally seem happy, under proper care, by hatching and rearing their young without any trouble, at migration time things become different: they repeatedly swim to the lee side of the pond, in order to have the whole extent of its surface at their disposal, trying to take off. Again and again the grand preparations end in a pathetic flutter of their half wings ; a truly sorry picture !
This, however, rarely awakens the pity of the zoo visitor, least of all when such an originally highly intelligent and mentally alert animal has deteriorated, in confinement, into a crazy idiot, a very caricature of its former self. Sentimental old ladies, the fanatical sponsors of the societies for Prevention of Cruelty to Animals, have no compunction in keeping a grey parrot in a relatively small cage or even chained to a perch. Together with the large corvines, the parrots are probably the only birds which suffer from that state of mind, common to prisoners, namely, boredom.

What effect does confinement have on clever animals, according to the text

A. They never stop trying to escape.
B. They lose all their muscles.
C. They become unhygienic.
D. They may go mad.