What is the output of the following code
SI=10010011 10101101, CF=0
SHR
SI, 1
a) 37805, CF=1, OF=1 b) 18902, CF=1, OF=1
c) 19820, CF=1, OF=1 c) 53708, CF=1, OF=1

1 Answer

Answer :

a) 37805, CF=1, OF=1

Related questions

Description : What is the output of the following code BX=23763 CL=8 ROL BX, CL a) 0101110011010011, CF=0 b) 1101001101011100, CF=0 c) 0110100010011101, CF=1

Last Answer : b) 1101001101011100, CF=0

Description : What is the output of the following code CF =0, BH = 179 RCL BH, 1 a) CF=0, OF= 1, BH= 01100101 b) CF=1, OF=1, BH=01100110 c) CF=1, OF =0, BH= 01001101 d) CF=0, OF=0, BH=00101100

Last Answer : c) CF=1, OF =0, BH= 01001101

Description : What is the output of the following code AL=00110101 BL= 39H M. Krishna Kumar/IISc. Bangalore M2/V1/June 04/1 Microprocessors and Microcontrollers/Assembly language of 8086 Multiple Choice Questions SUB AL, BL AAS ... , CF=1 b) BL=00000100, CF=0 c) AL=11111100 CF=1 d) BL= 00000100, CF=1

Last Answer : b) BL=00000100, CF=0

Description : What is the output of the following code AL= 49 BCD, BH= 72 BCD SUB AL, BH DAS a) AL=D7, CF=1. b) AL=7D, CF=1. c) AL=77, CF=1 d) none of them.

Last Answer : d) none of them.

Description : What is the output of the following code AL=88 BCD, CL=49 BCD ADD AL, CL DAA a) D7, CF=1 b) 37, CF=1 c) 73, CF=1 d) 7D, CF=1

Last Answer : a) D7, CF=1

Description : The conditional branch instruction JNS performs the operations when if __ a) ZF =0 b) SF=0 c) PF=0 d) CF=0

Last Answer : b) SF=0

Description : What is the output of the following code AX = 37D7H, BH = 151 decimal DIV BH a) AL = 65H, AH= 94 decimal b) AL= 5EH, AH= 101 decimal c) AH= E5H, AL= 5EH d) AL= 56H, AH= 5EH

Last Answer : b) AL= 5EH, AH= 101 decimal

Description : What is the output of the following code PUSH AL a) Decrement SP by 2 & push a word to stack b) Increment SP by 2 & push a word to stack c) Decrement SP by 2 & push a AL to stack d) Illegal

Last Answer : b) Increment SP by 2 & push a word to stack

Description : What is the output of the following code AL= 00110100 BL= 00111000 ADD AL, BL AAA a) AL = 6CH b) 12H c) 12 d) C6H

Last Answer : c) 12

Description : What is the output of the following code AL= -28 decimal, BL=59 decimal IMUL BL AX=? , MSB=? a) AX= F98CH, MSB=1. b) AX= 1652, MSB=1. c) BX F9C8H, MSB=1. d) BX= 1652, MSB=1.

Last Answer : a) AX= F98CH, MSB=1.

Description : What will be the hexadecimal value in the register ax (32-bit) after executing the following instructions? Mov al, 15 Mov ah, 15 Xor al, al Mov cl, 3 Shr ax, cl Codes: (A) 0F00 h (B) 0F0F h (C) 01E0 h (D) FFFF h

Last Answer : (C) 01E0 h

Description : .In an 8085 based system, the maximum number of input output devices can be connectedusing I/0 mapped I/O method isa) 64 b) 512 c) 256 d) 65536

Last Answer : b) 512

Description : Which provided the current: a. Low-cost b. Slow-cost c. Low-Output d. All the above

Last Answer : d. All the above

Description : When the write enable input is not asserted, the gated D latch ______ its output. a. can not change b. clears c. sets d. complements

Last Answer : a. can not change

Description : 8253, 8257 c) 8257,8251 d)8251,825721.Consider the following set of 8085 instruction.MVI A,82HORA AJP DSPLYXRA ADSPLY:OUT PORT1HLT.The output at PORT1 isa) 00H b) FFH c) 92H d) 11H

Last Answer : a) 00H

Description : computer operators a. writes computer programs for specific problems b. operate the device which input and output data from the computer c. normally require a college degree in computer science d. all of the above

Last Answer : b. operate the device which input and output data from the computer

Description : What type of device is computer keyboard? a. Memory b. Output c. Storage d. Input

Last Answer : d. Input

Description : An input /output device at which data enters or leaves a computer system is a. Keyboard b. Terminal c. Printer d. Plotter

Last Answer : b. Terminal

Description : condensing output data to exhibit specific information is a. calculating b. recording c. merging d. summarizing

Last Answer : d. summarizing

Description : Magnetic tape can serve as a. Secondary storage media b. Output media c. Input media d. All of the above

Last Answer : d. All of the above

Description : Which of the following printing devices an output composed of a series of data? a. Wire matrix printer b. Band printer c. Wang image printer d. Both a and c

Last Answer : d. Both a and c

Description : A computer consists of a. A central processing unit b. A memory c. Input and output unit d. All of the above

Last Answer : d. All of the above

Description : The central processing unit (CPU) consists of a. Input, output and processing b. Control unit, primary storage, and secondary storage c. Control unit, arithmetic-logic unit and primary storage d. Control unit, processing, and primary storage

Last Answer : c. Control unit, arithmetic-logic unit and primary storage

Description : Which of the following is not an input device? a. OCR b. Optical scanners c. Voice recognition device d. COM (Computer Output to Microfilm)

Last Answer : d. COM (Computer Output to Microfilm)

Description : A/n …. Device is any device that provides information, which is sent to the CPU a. Input b. Output c. CPU d. Memory

Last Answer : a. Input

Description : perforated paper used as input of output media is known as a. paper tapes b. magnetic tape c. punched papers tape d. card punch

Last Answer : a. paper tapes

Description : An output device that uses words or messages recorded on a magnetic medium to produce audio response is b. Magnetic tape c. Voice response unit d. Voice recognition unit e. Voice band

Last Answer : d. Voice recognition unit

Description : Regarding a VDU, Which statement is more correct? a. It is an output device b. It is an input device c. It is a peripheral device d. It is hardware item

Last Answer : c. It is a peripheral device

Description : In analog computer a. Input is first converted to digital form b. Input is never converted to digital form c. Output is displayed in digital form d. All of above

Last Answer : b. Input is never converted to digital form

Description : The output quality of a printer is measured by a. Dot per inch b. Dot per sq. inch c. Dots printed per unit time d. All of above

Last Answer : b. Dot per sq. inch

Description : A disadvantage of the laser printer is: a. It is quieter than an impact printer b. It is very slow c. The output is of a lower quality d. None of above

Last Answer : d. None of above

Description : Central Processing Unit is combination of a. Control and storage b. Control and output unit c. Arithmetic logic and input unit d. Arithmetic logic and control unit

Last Answer : d. Arithmetic logic and control unit

Description : The microcomputer system by using the ____device interface: a. Input b. Output c. Both A and B d. None of these

Last Answer : c. Both A and B

Description : When memory write or I/O read are active data is from the processor: a. Input b. Output c. Processor d. None of these

Last Answer : b. Output

Description : When memory read or I/O read are active data is to the processor : a. Input b. Output c. Processor d. None of these

Last Answer : a. Input

Description : In which form CPU provide output: a. Computer signals b. Digital signals c. Metal signals d. None of these

Last Answer : b. Digital signals

Description : 8096 has ___ general purpose I/O ports, Port 2 includes ______ of the following i) two quasi-bidirectional I/O lines ii) two output lines iii) four input lines iv) open drain outputs a) 4, i, iv b) 6, ii, iii c) 4, i,ii,iii d) 6, i, ii, iv

Last Answer : c) 4, i,ii,iii

Description : In ADC 0808 if _______ pin high enables output. a) EOC b) I/P0-I/P7 c) SOC d) OE

Last Answer : b) I/P0-I/P7

Description : 8096 has ___ general purpose I/O ports, Port 2 includes ______ of the following i) two quasi-bidirectional I/O lines ii) two output lines iii) four input lines iv) open drain outputs a) 4, i, iv b) 6, ii, iii c) 4, i,ii,iii d) 6, i, ii, iv

Last Answer : c) 4, i,ii,iii

Description : 8088 microprocessor differs with 8086 microprocessor in a) Data width on the output b) Address capability c) Support of coprocessor d) Support of MAX / MIN mode

Last Answer : a) Data width on the output

Description : In immediate addressing the operand is placed a. in the CPU register b. after OP code in the instruction c. in memory d. in stack

Last Answer : b. after OP code in the instruction

Description : Which of the following code is used in present day computing was developed by IBM corporation? a. ASCII b. Hollerith Code c. Baudot code d. EBCDIC code

Last Answer : d. EBCDIC code

Description : Because we wish to allow each ASCII code to occupy one location in memory, most memories are _____ addressable. a. BYTE b. NIBBLE c. WORD (16 bits) d. DOUBLEWORD (32 bits)

Last Answer : a. BYTE

Description : The most commonly used standard data code to represent alphabetical, numerical and punctuation characters used in electronic data processing system is called a. ASCII b. EBCDIC c. BCD d. All of above

Last Answer : a. ASCII

Description : Computer instructions written with the use of English words instead of binary machine code is called a. Mnemonics b. Symbolic code c. Gray codes d. Opcode

Last Answer : b. Symbolic code

Description : Which type of computers uses the 8-bit code called EBCDIC? a. Minicomputers b. Microcomputers c. Mainframe computers d. Super computer

Last Answer : c. Mainframe computers

Description : The original ASCII code used…bits of each byte, reserving that last bit for error checking a. 5 b. 6 c. 7 d. 8

Last Answer : c. 7

Description : A technique used by codes to convert an analog signal into a digital bit stream is known as a. Pulse code modulation b. Pulse stretcher c. Query processing d. Queue management

Last Answer : a. Pulse code modulation

Description : The computer code for the interchange of information between terminals is a. ASCII b. BCD c. EBCDIC d. All of above

Last Answer : a. ASCII

Description : EBCDIC can code up to how many different characters? a. 256 b. 16 c. 32 d. 64

Last Answer : a. 256