题目详情

某计算机的地址线、数据线均为8位,一条两字节的相对寻址的无条件转移指令,存于内存20H和21H单元中,指令操作码存放在20H中,存放在21H中的位移量为15H。则取该指令时PC(程序计数器)为()H,该指令执行结束时PC为(请作答此空)H。

  • A.21
  • B.35
  • C.37
  • D.41

正确答案及解析

正确答案
C
解析

由于两个字节的相对寻址的无条件转移指令存于内存20H单元和21H单元中,当 CPU准备取出该指令时,PC的内容必定指向存放该指令第一个字节的地址,即PC=20H。当CPU取出该指令准备执行时,PC的内容为22H,而取出的位移量为15H,执行该指令时是:PC+位移量→PC。因此,该指令执行结束时PC为37H。

你可能感兴趣的试题

单选题

(  )is the process of transforming information so it is unintelligible to anyone but the intended recipient.

  • A.Encryption
  • B.Decryption
  • C.Security
  • D.Protection
查看答案
单选题

As each application module is completed,it undergoes(  )to ensure that it operates correctly and reliably.

  • A.unit testing
  • B.integration testing
  • C.system testing
  • D.acceptance testing
查看答案
单选题

(  )algorithm specifies the way to arrange data in a particular order.

  • A.Search
  • B.Random
  • C.Sorting
  • D.Merge
查看答案
单选题

After analyzing the source code,(  )generates machine instructions that will carry out the meaning of the program at a later time.

  • A.an interpreter
  • B.a linker
  • C.a compiler
  • D.a converter
查看答案
单选题

(  )can help organizations to better understand the information contained within the data and will also help identify the data that is most important to the business and future business decisions.

  • A.Data processing system
  • B.Big Data analytics
  • C.Cloud computing
  • D.Database management
查看答案

相关题库更多 +