Vous êtes sur la page 1sur 3

General Questions: 1)Something about yourself 2)Any Assembly project done 3)Total experience 4)Your self rating in Assembly

1. Tell your project details. What is the process followed for a new requirement

2. What is Destructive overlap

3. Write down the displacement for each label assuming LABEL1 starts at 00 00 assuming as full word boundary LABEL1 DS CL1 LABEL2 DS F LABEL3 DS CL1 LABEL4 DS H ORG LABEL2 LABEL5 DS CL5 4. What are different types of addressing modes Explain with Example ANS : RR, SS, RS, RX, SI

5. What is the significance of BEGIN statement Ans :BEGIN macro establishes the standard base registers and linkages for your program 6. What is MVCL and what is it's significance. 7. Diffrence b/w MVC and MVCL 8. CTL dumps: CTL3(ADDRESS), CTL4(LENGTH), CTL10(INFINITE LOOP) 9. What could be the max size of an assembly program is 24bit, 31 bit and 64 bit addressing modes 10. Why it is called 31 bit not 32 bit? 11. MVC instruction, if we dont specify the length, then what will happen? 12. EX instruction . 13. Can we use EX inst within an EX. What is the risk. 14. Describe L R1,5

LA R1,5. LR 1,5 15. What will be the output of this instruction: MVC LABEL,5 16. LH Instruction 17. Which other inst can we use as LH. 18. MVC Label1, Label2. How many bytes would move? 19. How to move variable length data in an MVC? INSTR MVC Label1(5),Label2 EX R2, INSTR If R2 contains 14 what amount of data would move? 17. What is LH instruction? 18. If we use ICM instead of LH what dump it can protect. 19. In MVC instruction if the length is 0 in opcode then how much byte it has moved? 19. Whats the instruction used to decrement the register content by 1? 20. Any alternate instruction which we can be used on behalf of BCTR. 21. How BCTR R5, 0 work? Whats the significance of 0 in BCTR? 22. What is the difference between ctrl 3 and ctrl 4 dumps? 23. The content of the register needs to be multiplied by 2, suppose the value is 2 then you would like to make it to 4,6,8. How can you do that if you are running sort of registers/without using the MR instruction? 24. For BAS instruction how to avoid the ctrl 10 dumps? 25. For BAS instruction if it given like BAS R5, A In label A: BAS R5,B In label B: BAS R5,C How to avoid the Ctrl 10 dumps without even saving the registers before the BAS instruction. Is there any other alternatives we can use for the same? 26. How can we execute MVC instruction only once without changing the sequence of instruction: EX LABEL1 R1,LABEL1 MVC LABEL2(0),LABEL3

27. MVC instruction if the length is 0 in opcode then how much byte it has moved? 28. Whats the instruction used to decrement the register content by 1? 29. Any alternate instruction which we can be used on behalf of BCTR 30. How BCTR R5, 0 work? Whats the significance of 0 in BCTR? 31. INSTR MVC Label1 (5), Label2 EX R2, INSTR If R2 contains 14 what amount of data would move?

32. What are scratch registers?

Ans: R0 33. Difference b/w IC and ICM. At least two differences. Ans: IC: Inscert 1 byte at registers lower order byte ICM: can insert more than 1 byte at registers desirable bytes. ICM set condition code. 34. Whats the difference b/w below two instructions? LABEL1 LABEL1 LABEL1 LABEL1 EQU ORG ORG ORG * * LABEL1+50

35. What is the base register. 36. Can we have multiple base register.

Vous aimerez peut-être aussi