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

1 Answer

Answer :

c) 12

Related questions

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= -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 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 : 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= 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 : The contents of Register (BL) and Register (AL) of 8085 microprocessor are 49H and 3AH respectively. The contents of AL, the status of carry flag (CF) and sign flag (SF) after executing 'SUB AL, BL' assembly language instruction, are ( ... ; CF=0; SF=0 (3) AL=F1H; CF=1; SF=1 (4) AL=1FH; CF=1; SF=1

Last Answer : Answer: 3

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 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

Last Answer : a) 37805, CF=1, OF=1

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 : Convert decimal 36 to binary. 43) A) 00110100 B) 01000010 C) 00100100 D) 01100010

Last Answer : C) 00100100

Description : For the 8-bit word 00111001, the check bits stored with it would be 0111. Suppose when the word is read from memory, the check bits are calculated to be 1101. What is the data word that was read from memory? (A) 10011001 (B) 00011001 (C) 00111000 (D) 11000110

Last Answer : (B) 00011001

Description : solve this equation: –9h – 6 + 12h + 40 = 22. -General Knowledge

Last Answer : -9h - 6 + 12h + 40 = 22; -9h + 12h = 22 + 6 - 40; 3h = -12; h = -12/3; h = -4.

Description : In the ionic equation `2K^(+)BrO_(3)^(-)+12H^(+)+10e^(-)rarrBr_(2)+6H_(2)O+2K^(+)`, the equivalent weight of `KBrO_(3)` will be : (where M = molecular

Last Answer : In the ionic equation `2K^(+)BrO_(3)^(-)+12H^(+)+10e^(-)rarrBr_(2)+6H_(2)O+2K^(+)`, the equivalent weight of ` ... )`) A. M/5 B. M/2 C. M/6 D. M/4

Description : Ingiven lines of code MOV AX,BL have different type of operands according to assembler for 8086 architecture these identifiers must be of. a. Different type only in byte b. Same type either in word or byte c. Botha &b d. None of these

Last Answer : b. Same type either in word or byte

Description : Where does a computer add and compare data? a. Hard disk b. Floppy disk c. CPU chip d. Memory chip

Last Answer : c. CPU chip

Description : Who developed a mechanical device in the 17th century that could add, subtract, multiple, divide and find square roots? a. Napier b. Babbage c. Pascal d. Leibniz

Last Answer : d. Leibniz

Description : Which of the following will happen when data is entered into a memory location? a. It will add to the content of the location b. It will change the address of the memory location c. It will erase the previous content d. It will not be fruitful if there is already some data at the location

Last Answer : c. It will erase the previous content

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 : .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 : 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 : The ___________ has a code of ethics that helps organizations monitor their ads A. AAA B. FTC C. FDA D. All of the above

Last Answer : A. AAA

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