试题与答案

执行下面的程序段后,(AX)=( )。  TAB DW 1,2,3,4,5,6

题型:单项选择题

题目:

执行下面的程序段后,(AX)=( )。  TAB DW 1,2,3,4,5,6  ENTRY EQU 3  MOV BX, OFFSET TAB  ADD BX, ENTRY  MOV AX, [BX]

A. 0003H

B.0300H

C.0400H

D.0004H

答案:

参考答案:B

解析:根据TAB的定义,从TAB开始以后的存储单元,按字节计算的单元号依次为1、2、3、4、5时,其内容依次是01H、00H、02H、03H、00H。程序执行查表功能,即读出从3号单元开始的一个字到AX中,因此AX=0300H(高地址存放高位字节)。

试题推荐
题型:单项选择题

Web browser is simply a terminal emulator, designed to display text on a screen. The two essential differences between an ordinary terminal emulator and a Web browser are that the browser knows how to deal with (71) , and that it has a mechanism for (72) graphical files. Display text, display graphics, and (73) hyperlinks--there’s 99 percent of the (74) value. That’s not to say that the manufacturers didn’t go all-out to attach a hyperactive efflorescence of useless capabilities onto their browsers. Remember when media channels in the browser were a big deal, instead of the clutter you can’t wait to delete from your favorites of bookmarks menu Remember when client-side Java applets were supposed to become the preferred (75) for application development Remember frames and all their nasty side effects

A.Web browser’s

B.terminal’s

C.emulator’s

D.network’s

查看答案
微信公众账号搜索答案