You are on page 1of 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) ----------------