mpexam

download mpexam

of 2

Transcript of mpexam

  • 8/12/2019 mpexam

    1/2

    unit - 6

    1) the purpose of 8087 , its different names and how can it help to improve speed and efficiency of microprocessor based system?2)pin diagram of 8087(may not be asked but cant take a risk practice it) , important pins like RQ/GT0 , RQ/GT1 , Queue status and status pins , busy , ready , reset. what are the connections between 8086 and 8087 that are made?3)data types of 8087 , range of all these data types and what are the data directives of each data types like DW , DD , DQ , DT and which one should be used for which data type?(impt)4) converting a positive or negative real number to single precison and double precion ( double precision usually not asked but only difference is add 3FFh instead of 7Fh rest is same). the reverse way can also be asked(impt)5)architecture of 8087 - diagram , control unit , numeric execution unit , control register (explain each bit) status register(explain each bit) tag registers and stack register - top of the stack , size of each stack reg , relation between tag register and top of the stack.(impt)6) how 8086 and 8087 work? (impt)7) reading operand and writing into operand by coprocessor(impt)8) instruction set of 8087(impt)9) programming - first instr should be FINIT , then draw stack register in rough and see the changes after every instruction. that quadratic equation roots is important and so is resonant frequency programs.(impt)

    unit 51) microprocessor doesnt have ports of its own and no internal memory like in micronctroller , hence we need an ineterface between 8086 and I/O device which isprovided by 8255 PPI , what is 8255? it's pin diagram , (not so important but know it) , the 3 ports , the 2 modes of 8255(I/O and BSR) , control register.2) architecture or block diagram of 8255 , control register (impt)3) modes of port a , port b and role of port c - when it provides handshaking and when it doesnt?(imp)4) 4 types of keyboard switches , diagram for each ( no diag for mechanical key switch) explain each5) keyboard interfacing - diagram , explaining role of port a and b , logic of program in the form of flow chart and program (very impt)6) interfacing alphanumeric displays ( or LED or 7 segment displays) , diagram ,

    and program ( imp)7) what is stepper motor? how it works?(not that impt)8) programming stepper motor - remember that 1 step means 1.8 degrees , so whatever angle rotation they ask divide that by 1.8 and load that into cx reg.

    unit 11) architecture of 8086 - diag ( very imp) , execution unit - EU control system, instruction decoder , general purpose reg , pointers and index registers , flag register , BIU - instruction byte queue , different segments in memory and offset holders for each segment i.e ex for CS - IP. ( very imp question)2) default segments - that table , questions from here can be on calculating physical addresses.(very impt)3) advantages of memory segmentation.

    4) addressing modes - data , program and stack addressing modes( they can ask to explain each with example) ( very impt)5) stack operation i.e how push and pop work?6) machine language instruction - v can be asked to explain all fields or can be given a problem(both vice versa conversions should be known) (very impt)7) they can give one set of instructions and ask to replace it with a single instruction like asked in ia to which ans was NOP

    unit 2 and unit 31) instruction set ( they can give some instructions and ask to explain with exa

  • 8/12/2019 mpexam

    2/2

    mple)a) data transfer - mov , XLAT , lea , mov offset , lahf , les , lds , push pop , IN and OUTb) string instructions - movs , lods , stos , cmps , scas , rep , repne , repe , repz , repnzc) arithmetic - addition , subtraction ( here daa , aaa ,das , aas are impt) , div and mul ( imul , idiv are imp and u should know where will b quotient , remainder)d) shift and rotate - ( they can give problems here)e) program control - (jmp and call)f) micellaneous - HALT , WAIT , ESC etc..2) assembler directives? - .code , .data , ends , endm , endp , near , far , public , extrn , dup , org.3) procedure ? difference between far and near.4 ) macro?5) difference between proc and macro.

    PROGRAMSpractice all lab programs and the ones taught in classbefore writing each program , write one paragraph explaining logic of program in points , write comments , infront of imp instr in program like -

    mov cx , 0010 ; load count

    mov dx , porta ; load adxALL THE BEST :-)