计算机科学概论第六章练习与答案.pdfVIP

  • 0
  • 0
  • 约2.7万字
  • 约 13页
  • 2026-01-30 发布于北京
  • 举报

Chapter6ExercisesandAnswers

Answersareinblue.

ForExercises1-15,marktheanswerstrueandfalseasfollows:

A.True

B.False

1.ArithmeticcanbeperformedintheInstructionRegister.

B

2.ArithmeticcanbeperformedintheARegister.

A

3.Arithmeticcanbeperformedintheaccumulator.

A

4.LDA0X008B,iloads008BintoregisterA.

A

5.ADDA0x008B,iaddsthecontentsof008BtotheAregister.

B

6.TheProgramCounterandtheInstructionRegisteraretwonamesforthesamece.

B

7.TheAregisterandtheaccumulatoraretwonamesforthesamece.

A

8.TheInstructionRegisteristhreebyteslong.

A

9.TheProgramCounteristhreebyteslong.

B

10.Thebranchinstruction,BR,branchestothelocationspecifiedintheoperandspecifier.

A

11.Theinstructionspecifierisonebyteslong.

B

12.Ifthedatatobeloadedintotheaccumulatorisstoredintheoperand,theinstructionspecifieris00.

A

13.Ifthedataintheaccumulatoristobestoredinthecenamedintheoperand,theinstruction

specifieris00.

B

14.AllPep/8instructionsoccupythreebytes.

B

15.Atleastonebranchinginstructionsisrequiredinaloop.

A

Giventhefollowingstateofmemory(inhexadecimal),answerExercises16through20bymatching

theproblemtothesolutionshown.

0001A2

000211

000300

0004FF

A.A211

B.A212

C.0002

D.1100

E.00FF

文档评论(0)

1亿VIP精品文档

相关文档