![]() |
|
#1
|
||||
|
||||
|
Question No: ( Marks: 1 ) - Please choose one
The first instruction of “COM” file must be at offset: ► 0x0010 ► 0x0100 ► 0x1000 ► 0x0000 Question No: ( Marks: 1 ) - Please choose one The execution of the instruction “mov word [ES : 0], 0x0741” will print character “A” on screen , background color of the screen will be ► Black ► White ► Red ► Blue Question No: ( M a r k s: 1 ) The iAPX888 architecture consists of _______ register. o 12 o 14 o 16 o 18 Question No: The execution of the instruction “mov word [ES: 0], 0x0741” will print “A” on the screen, color of the character will be o Black o White o Red o Blue Question No: One screen location corresponds to a Byte Word Double byte Double word Question No: When an item is pushed on the decrementing stack, the top of the stack is First decremented and then element copied on to the stack First incremented and then element copied on to the stack Decremented after the element copied on to the stack Incremented after the element copied on to the stack Question No: Each screen location corresponds to a word, the lower byte of this word contains ____ The character code The attribute byte The parameters The dimensions if contains decimal -2 and BX contains decimal 2 then after the execution of instructions: CMP AX, BX ,JA label Jump will be taken Zero flag will set ZF will contain value -4 Jump will not be taken If D is “35” is shift to left 2 bits the new value 35 70 140 17 Question # 38 When two 16bit numbers are added the answer can be 17 bits long, this extra bit that won’t fit in the target register is placed in the __________where it can be used and tested 1) : carry flag 2) : Parity Flag 3) : Auxiliary Carry 4) : Zero Flag Question No: 6 ( Marks: 1 ) - Please choose one Only ___________ instructions allow moving data from memory to memory. ► string ► word ► indirect ► stack When a 16 bit number is divided by an 8 bit number, the quotient will be in ► AL ► AX ► AH ► DX Which bit of the attributes byte represents the red component of background color ? ► 3 ► 4 ► 5 ► 6 Question # 11 | 0 |--›| 1 | 1 | 0 | 1 | 0 | 0 | 0 | --›| C | is a example of ______ 1) : Shl 2) : sar 3) : Shr 4) : Sal Question # 22 ______________allow changing specific processor behaviors and are used to play with it. 1) : Special Instructions 2) : Data Movement Instructions 3) : Program Control Instructions 4) : Arithmetic and Logic Instructions Question # 23 8088 is a 16bit processor with its accumulator and all registers of __________. 1) : 32 bits 2) : 6 bits 3) : 16 bits 4) : 64 bits _______________decrements SP (the stack pointer) by two and then transfers a word from the source operand to the top of stack 1) : PUSH 2) : POP 3) : CALL 4) : RET Q: Affected flag of AND operation marks 2 Q: Relation between RET and CALL is dependent or independent. Marks 2 Q: What is the difference between LES and LDS instruction? marks 3 Q: What is wrong with this program? Marks 5 Two question or the 3 or 5 marks k bohat different the past papers se nahi aye the is liye yaad nahi. What is the syntax of PUSH instruction? 2 Marks For what purpose DS and ES registers are generally used in the context of video memory. 2 Marks When the instructions “push ax” is executed in decrementing stack how the value of SP will change. 3 Marks What colors are repeated by 0th, 1st and 2nd bits (from least significant side) in Attribute Byte? 3 Marks How SCAS instructions can be used to detect Null at the end of a string? 5 Marks What is the wrong with this program? 5 Marks |
![]() |
















Linear Mode


