0% found this document useful (0 votes)
115 views

Microprocessor Questions

The document contains three questions about 8085 microprocessor architecture. Question 1 asks about addressing modes, provides data and instructions to perform operations, and asks to write a program to count bits. Question 2 asks to write a program to search for a byte, describes instruction sets, and performs 2's complement subtraction. Question 3 asks to draw timing diagrams and a flowchart to transfer an array of data between memory locations.

Uploaded by

Pravin Sonwane
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views

Microprocessor Questions

The document contains three questions about 8085 microprocessor architecture. Question 1 asks about addressing modes, provides data and instructions to perform operations, and asks to write a program to count bits. Question 2 asks to write a program to search for a byte, describes instruction sets, and performs 2's complement subtraction. Question 3 asks to draw timing diagrams and a flowchart to transfer an array of data between memory locations.

Uploaded by

Pravin Sonwane
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Monthly Test: Second Sub: MFA Max. Marks: 54 Duration: 1 Hour Q.

1 (a) Which are different addressing modes in the instruction set of 8085? Explain giving one example of each. (5 marks) (b) For the given data, what will be the result after the execution of the following instruction? Data: (HL)=2000H (DE)=3000H, 2000H=3AH 3000H=75H Instructions 1) LDAX D 2) XCHG 3) DAD D 4) SHLD F000H (4 marks) c) Write a program in assembly language to count number of 1 bits in the data of register B, store the answer at memory location E000H. (6 marks) Q. 2 (a) Assume that there is only one byte AA in a array of 10 bytes stored from C000H onwards. Write an assembly language program to search this byte AA and store its corresponding address in a register pair DE. (7 marks) (b) Classify and write short note on Instruction set of 8085. (8 marks) (c) Perform the subtraction of 7EH from ABH by 2s complement method of subtraction.(6 marks) Q.3 (a) Draw timing diagram of the following 8085 instructions a) LHLD C000 b) STAX B ( 6 marks) (b) Twenty bytes data are stored in a array beginning at memory location C000H. Transfer the entire block of data to an array starting from memory location E000H. Draw the required flow chart. (8Marks) ---------------Monthly Test: Second Sub: MFA Max. Marks: 54 Duration: 1 Hour Q.1 (a) Which are different addressing modes in the instruction set of 8085? Explain giving one example of each. (5 marks) (b) For the given data, what will be the result after the execution of the following instruction? Data: (HL)=2000H (DE)=3000H, 2000H=3AH 3000H=75H Instructions 1) LDAX D 2) XCHG 3) DAD D 4) SHLD F000H (4 marks) c) Write a program in assembly language to count number of 1 bits in the data of register B, store the answer at memory location E000H. (6 marks) Q. 2 (a) Assume that there is only one byte AA in a array of 10 bytes stored from C000H onwards. Write an assembly language program to search this byte AA and store its corresponding address in a register pair DE. (7 marks) (b) Classify and write short note on Instruction set of 8085. (8 marks) (c) Perform the subtraction of 7EH from ABH by 2s complement method of subtraction.(6 marks) Q.3 (a) Draw timing diagram of the following 8085 instructions a) LHLD C000 b) STAX B ( 6 marks) (b) Twenty bytes data are stored in a array beginning at memory location C000H. Transfer the entire block of data to an array starting from memory location E000H. Draw the required flow chart. (8Marks) ---------------Monthly Test: Second Sub: MFA Max. Marks: 54 Duration: 1 Hour Q.1 (a) Which are different addressing modes in the instruction set of 8085? Explain giving one example of each. (5 marks) (b) For the given data, what will be the result after the execution of the following instruction? Data: (HL)=2000H (DE)=3000H, 2000H=3AH 3000H=75H Instructions 1) LDAX D 2) XCHG 3) DAD D 4) SHLD F000H (4 marks) c) Write a program in assembly language to count number of 1 bits in the data of register B, store the answer at memory location E000H. (6 marks) Q. 2 (a) Assume that there is only one byte AA in a array of 10 bytes stored from C000H onwards. Write an assembly language program to search this byte AA and store its corresponding address in a register pair DE. (7 marks) (b) Classify and write short note on Instruction set of 8085. (8 marks) (c) Perform the subtraction of 7EH from ABH by 2s complement method of subtraction.(6 marks) Q.3 (a) Draw timing diagram of the following 8085 instructions a) LHLD C000 b) STAX B ( 6 marks) (b) Twenty bytes data are stored in a array beginning at memory location C000H. Transfer the entire block of data to an array starting from memory location E000H. Draw the required flow chart. (8Marks) ----------------

You might also like