Вы находитесь на странице: 1из 5

Tute 6

Q.1 Define Microprocessor?

Q2. What is a chip? And what is mini computer? Q.3 What are System Bus, Data Bus and Address Bus? Q.4 (a)What is Assembly Language, and Machine Language? (b)What do you mean Data Width? Q.(5) List the four operations commonly performed by MPU Q.6 (a) Define Register Relative Addressing Mode (b)List the branch related addressing mode Q7 (a)List the functions of Bus Interface Unit in 8086 (b) What is the use of Instruction pointer in 8086 ? (c) Write about the auxiliary carry flag used in 8086? (d)When the Overflow flag is set? Q8 (a) What is the use of PUSHF instruction used in 8086? (b) Define XLAT instruction used in 8086. Q 9 (a) what is the use of D bit in opcode? (b) What is the use of W, V, Z bit in opcode ?. Q10 (a)What is DAS instruction ? (b)What is Packed BCD Format ?

Tute 7
Q1 What is the value of AX after executing following instructions. MOV AH, 00 MOV AL,7 ADD AL,3 AAA Q2. (a)What is difference between DIV and IDIV instruction in 8086? (b)What is AAS instruction in 8086? (c) What is the use of Directives in 8086? (d) Write the difference between CBW and CWD instruction in 8086 (e) Write about the following instruction: LES CX, [3483H] (f) What is the use of TEST instruction in 8086? Q3. Write about the following instruction: MOV CS:[BX], DL

Q4. What is the value of AL after executing the following instructions? MOV AL, 35H ADD AL, 49H DAA Q5 (a) Define Segment Override Prefix. (b) What is Emulator? Q6 (a) While handling the interrupt instructions in 8086, what are the internal operations may be carried out by the stack? (b) What is polling? (c) Define Interrupt I/O? Q7 Write about EVEN directive in 8086 ALP. Q8 (a)When the 8086 processor is in minimum mode? (b)What is the use of s1 , s2 ,s3 signals when 8086 is in maximum mode? Q9. Define Machine cycle. Q10. Write any three differences between 8086 and 8088?

Tute 8
Q1. (A)Define Instruction cycle? (B)What do you mean by wait states in system bus timing? Q2. What is the use of A1,A2 pins in 8255A ? Q3. Write about mode 1 in 8255A? Q4 (A) What is the difference between 80186 and 80188? (B) Write about 80486 processor?
Q5 (A)Convert the following decimal numbers to hexadecimal, octal and binary: (i) 9660 (ii) 25000 (iii) 3540 (iv) 4000 (B) Perform the following arithmetic operations (all the numbers given are in decimal notation) using binary singed 2s complement notation.Use only 8 bit long numbers. Indicate the overflow, if any. (v) +49 (-79) (vi) -49 79 (vii) -25+29 (viii) 39 40 Q6. Explain the concept of DMA. Explain the concept of cycle stealing in DMA. Suggest a situation where DMA will be more useful than Interrupt Driven Input/ Output Q7 Assume that an 8-bit Register R has 01101010. Perform the following

operations on the register R: (i) Selective Clear higher 4 bits (ii) Masking out the lower 4 bits (iii) clear the register (ix) Insert a value 0101 in the lower 4 bits of the register. Q 8. Explain the use of Code Segment (CS) and data segment (DS) register in 8086 microprocessor Q9. Explain SHL, AAS, NEG, JMP instructions of 8086 processor with the help of one example each. Q10. Explain any four addressing modes that are implemented in 8086 Microprocessor

Tute 9
Q1. Write a program in 8086 assembly language that reads one two digit number, converts it to a packed BCD number and add it to an already available packed BCD number in memory. The program leaves the result of the addition in the AH register. Q2 Write a program in 8086 assembly language that copies a string to another location in the memory.What is internal structure of 8086? Where 8086 mostly used & tell application of 8086? Q3. Why memory width is not 16-bit? In stead of having 8-bit (same as 8085) Q4. What is the difference between 8085 and 8086 in microprocessor ? Which microprocessor accepts the program written for 8086 without any changes? Which Flags can be set or reset by the programmer and also used to control the operation of the processor? Which Segment is used to store interrupt and subroutine return address registers? Q5. What is meant by cross-compiler?

Q6. What are the different functional units in 8086? Logic calculations are done in which type of registers? What is the position of the Stack Pointer after the PUSH instruction? What is the position of the Stack Pointer after the POP instruction? Q7. Discuss pin diagram of 8086 .Write a program in 8086 assembly language to find largest number in a set of 10 numbers. Write a program in 8086 assembly language to find smallest number in a set of 10 numbers Q8. (a) Write a program in 8086 assembly language to multiply two 8 bit numbers using successive addition technique. (b) Write a program in 8086 assembly language to multiply two 8 bit numbers using binary multiplication technique. (c)Write a program in 8086 assembly language to subtract two 8 bit number considering borrow generated

(d)Write a program in 8086 assembly language to add two 8 bit number considering carry generated. Q9. Q10. Discuss basic structure of 8255 PIC along with handshaking mechanism What is the difference between assembly and high level language?

Tute 10
Q1. Discuss various tool used for simulation and programming of assembly programs (editor. Debugger, compiler, assembler, linker, loader) Q2. Draw a block diagram to interface 8KB memory to interface with 8086 processor, also calculate memory space and number of address line needed to perform this Q3. Discuss Brief History of 80x86 Family of Microprocessors. What are the various interrupts in 8086? What are the flags in 8086? Describe the function of each 8086 and 8088 pin.Explain the difference between minimum and maximum mode operation. What do EU and BIU do? List the two benefits of segmented addressing. Q4. What is meant by Maskable interrupts? What is Non-Maskable interrupts? Which interrupts are generally used for critical events? What is the Maximum clock frequency in 8086? Discuss hardware interrupt response and software interrupt response? Q5. Which of following instruction are legal and which are not (a) MOV BX,14AFH ;move 14AFH into BX (b) MOV SI,2345H ;move 2345H into SI (c) MOV DI,2233H ;move 2233H into DI (d) MOV CS,2A3FH ;move 2A3FH into CS (e) MOV DS,CS ;move the content of CS into DS (f) MOV FR,BX ;move the content of BX into FR (g) MOV DS,14AFH ;move 14AFH into DS Answer questions below based on the following settings of register values in an 8086 AX = 10FFh SP = 0012h CS = F000h BX = 8745h BP = 1032h DS = E000h CX = ABCDh DI = 2052h SS = D000h DX = 1111h SI = 3072h ES = C000h (a). What value does CH contain? (b). What value does BL contain? (c) Assume that the instruction INC AL is executed. How would the following flags be set? Write "N/A" if the flag was not affected. ZF = ______ CF = ______ SF = ______ (d)What is the physical address pointed to by the segment:pointer pair ES:BP?

Q6.

(e) From the information above, the physical address of the top of the stack can be Calculated, e.g., the address from which data would be retrieved for a POP Instruction .True or False Q7. Using an original value of 100110102and a mask of 000011112, calculate the results of a bitwise AND, a bitwise OR, and a bitwise XOR for these values. Assume AX=1234h, BX=FEDCh, and CX=0000h. After the following code is executed, what would AX, BX, and CX contain? PUSH AX PUSH BX PUSH CX POP AX POP BX POP CX

Q8.(a) Which Stack is used in 8086? (b) Logic calculations are done in which type of registers? (c) What is meant by cross-compiler? (d) Which Segment is used to store interrupt and subroutine return address registers? (e) Which Flags can be set or reset by the programmer and also used to control the operation of the processor? Q9.(a) Which microprocessor accepts the program written for 8086 without any changes? (b) What is the difference between 8086 and 8088? (c) Show how the flag register is affected by the addition of 38H and 2FH. (d) Which one is batter Interrupt processing or polling. Discuss Advantages and disadvantages of each one . Q10.(a) What is IVT? Why we need it? (b) What is Tri-state logic? (c) For each of the following registers, identify how many bits they contain. AH = ______ bits ES = ______ bits BP = _____ bits SI = ____ bits http://www.youtube.com/watch?v=8vHtKbXnRXg&feature=related&oref=http%3A%2F %2Fwww.youtube.com%2Fwatch%3Fv%3DWwTnryfv93s%26feature%3Drelated

Вам также может понравиться