Q#1: Fill the table below with the correct answer for each of the following questions. [32 points] 1. The function------
Posted: Thu Jun 02, 2022 7:49 am
questions. [32 points] 1. The function------------of interrupt 21h used to read a string a) 0AH b) 03H c) OCh d) 02H 2. One of the following instructions affect flag register a) MOV AX,BX b) MOV CL, X c) SHL [SI],CL d) EXCH AL, AH 3. The instructions that are used for writing an output port and reading an input port respectively are a) IN, OUT b) OUT, IN c) IN, MOV d) MOV. OUT 4. If the CX-FFFFH, after executing INC CX; DEC CX the contents of the CX register is-------- a) 0000H b) FFFEH c) FFFFH d) EEEEH 5. If the BX=IFFIH, a) IFFEH after executing the following instruction SUB BX,4h the BX will be b) IFEBH c) IFFCH d) IFFDH 6. The flag that acts as Borrow flag in the instruction, SBB is a) Direction flag b) parity flag c) carry flag d) trap flag
Q#1: Fill the table below with the correct answer for each of the following