0% found this document useful (0 votes)
22 views1 page

4thsem MP Testpaper-3rd

Download as doc, pdf, or txt
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 1

NEW HORIZON COLLEGE OF ENGINEERING BANGALORE

Assignment-III
SUBJECT: MICROPROCESSOR SUB CODE: 06CS45

1. Explain the following assembler directive. Give an example for each.


i) SEGMENT ii) LABEL iii)PTR iv) OFFSET v) ENDP
vi) SHORT vii) DQ viii) ASSUME ix)EXTRN x)EVEN

2. Differentiate between the following pair of instructions.


i) CMP and SUB ii) TEST and AND iii) MOV and MOVS iv) CMP and CMPS
v) NEG and NOT vi) MUL and IMUL vii) ROR and SHR

3. Explain the following instructions with suitable examples


i) XLAT ii)SCAS iii)RET iv)JCXZ v)INT vi)LDS vii)SAHF viii)CMC ix)REP x)OUT.

4. Draw and explain block diagram of a simple 8086-based microcomputer.

5. Explain how the memory is interfaced to 8086 and how is it addressed.

6. Interface 64KB EPROM to 8086 using 8K X 8 ICs with starting address F0000 and Interface 32KB
RAM using 8K X 4 ICs with starting address 80000. Draw the complete schematic of the design with
address map. (Use 74LS138 as decoder).

7. Write one instruction for given set of instructions.


i) PUSH AX ii) UP: SUB CX,01 iii) ADD AL,BL iv)MOV AL,BL
PUSH BX JNZ UP JNC DOWN NOT AL
---------- ADD AL,01 ADD AL,01
POP AX DOWN:------ MOV BL,AL
POP BX ------

8. Draw and explain the 8086 timing diagram for READ operation.

9. Draw and explain the internal block diagram of 8255A.

10. Write an ALP to drive a stepper motor in clockwise direction for 10 steps and anti-clockwise
direction for 15 steps.

11. Write the program for BCD up-down counter using Logic Controller interface.

You might also like