Skip to main content

Posts

Showing posts with the label CS401 Recent Papers

CS401 Current Midterm Paper Fall 2013 File 1

by Muhammad Asim Saeed on December 20, 2013 at 9:56am Aslm u Akeikum Paper was logical. 30 % mcqs from muazz and 70% new What is the effect of push and pop on sp? what is the purpose of special instructions like LDS and LES. Function of ISR interups service routine which of the following is bitwise MOV ADD Sub aur is tra ka aik tha theak say yad nai 5 no question rewrite valid code in one of followings 1.pop ip 2. mov ip 25 3. sub sp,2

CS401 Current Midterm Paper Fall 2013 File 3

by HardRock on December 20, 2013 at 8:20pm 90% mcqs were from past papers.. how many operands in ADC? ans: 3, 1, 2, 4 how 32 bit word is defined? ans define double, double word, define quad, define byte if 2 16bit operands multiplied the result will be ________ ans 32bit , 16bit, 24bit, 64bit if div by zero occurs then ____?? ans div by zero int for software int we write ____ ans INT after push instruction SP gets ??? incremented by 2 decremented by 2 SP is associated by default with ??? CS DS SS ES which math function used in cmp addition muktiply subtract division subjective were as follow what will happen when instruction mov [es:di], DX ....2marks What does RET n means and what happen when it executes... 2marks write a program to using rotate to swap AH with AL. AH=0xDD and AL=0xAC it should transform in AH=0xAC and AL=0xDD...3marks if used div instruction used div ax, bx what will happen if AX=0x0007h DX=0x0000 and BX=0x0002 and B DX=0x0000h AX=0xFFFFh and BX=0x0010...... 3 mar...

CS401 Current Midterm Paper Fall 2013 File 2

by Waqas Sheikh on December 20, 2013 at 2:43pm 9/20 mcq's were from past papers moaz file subjective was totally new not from past the questions were from the topics, Subroutine, MUL, Multiplication asked abt some string instructions and a program was given in 5 marks asked abt to tell what does it makes etc.

CS401 Current Midterm Paper Fall 2013 File 5

by Ximonoce on December 23, 2013 at 5:06pm 1. (Marx 5)What is divide overflow error? Complete the following code such that it will cause divide overflow error. mov BL, mov AX, DIV BL, 2. (Marx 5). In case branching technique in intel architecture which instruction is used to provide temp diversion and how.? 3.(Marx 2) How many bytes will be moved by each of the following block codes? (a). mov cx, 384 REP movsb (b). mov 384 REP movsw 4. (Marx 2) How local variables are created using stack? 5. (Marx 2) Whenever the sign of a bit changes unexpectedly, what type of interrupt is generated as a result?

CS401 Current Midterm Paper Fall 2013 File 7

by Hira on December 27, 2013 at 4:36pm Today's paper  Q:assembly code for  Addition of AX=1010, CF= 1 , BX = 0111  Q: how division overflow occur??????? (2) Q: why stack is LIFO? ? (3) Q: Two statments are given. in ko attribute byte me convert krna tha . (3) Q: assembly code for bubble sort  (5) Q: REP prefix types which are efficient in CMP?? (5)