m.manish_252310016_Assignment_3_PPT[1].pptx

manishm2303 5 views 9 slides Aug 27, 2024
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

hello


Slide Content

8085 MICROPROCESSOR FIBONACCI SERIES 252310016 m.manish Programme Name: I-BCA Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS

Programme Name: I-BCA I ntroduction: The 8085 microprocessor is an 8-bit microprocessor  that was developed by  Intel in the mid-1970s . It was widely used in the early days of personal computing and was a popular choice for hobbyists and enthusiasts due to its simplicity and ease of use. The architecture of the 8085 microprocessor consists of several key components, including the accumulator, registers, program counter, stack pointer, instruction register, flags register, data bus, address bus,and control bus. Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS

Programme Name: I-BCA Program: FIBO NACCI SERIES Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS START: LXI H, 7050H XRA A MOV B, A MOV M, A INR A INX H MOV M,A MVI C, OCH LOOP: ADD B MOV B,M INX H MOV M, A DCR C JNZ LOOP HLT

Programme Name: I-BCA Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS START: LXI H, 7050H -load immediate Load the HL register pair with the address 7050H. 2. XRA A - Exclusive OR A with A, effectively clearing the accumulator. 3. MOV B, A - Move the content of A (which is 00H) to register B. 4. *MOV M, A* - Move the content of A (00H) to the memory location pointed by HL (7050H). - Memory[7050H] = 00H

Programme Name: I-BCA Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS 5. INR A - Increment the accumulator. 6. INX H - Increment the HL register pair. 7. MOV M, A - Move the content of A (01H) to the memory location pointed by HL (7051H). 8. MVI C, 0CH - Move the immediate value 0CH to register C. 9. *LOOP: ADD B* - Add the content of B (00H) to the accumulator. - \( A = A + B = 01H + 00H = 01H \) 10. *MOV B, M* - Move the content of the memory location pointed by HL to register B. - \( B = \) Memory[7051H] = 01H

Programme Name: I-BCA Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS 11. *INX H* - Increment the HL register pair. - \( HL = 7052H \) 12. *MOV M, A* - Move the content of A (01H) to the memory location pointed by HL (7052H). - Memory[7052H] = 01H 13. *DCR C* - Decrement register C. - \( C = 0CH - 1 = 0BH \) 14. *JNZ LOOP* - Jump to the label LOOP if C is not zero. Since C is 0BH, the program jumps to LOOP. - The loop repeats the operations from the label LOOP.

Programme Name: I-BCA Execution & Result: Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS

Programme Name: I-BCA Saveetha College of Liberal Arts and Sciences Course Code /Course Name : CSA2301 MICROPROCESSOR AND ITS APPLICATIONS INPUT OUTPUT NO INPUT NEEDED. (7050H)=01 (7051H)=01 (7052H)=02 (7053H)=03 (7054H)=05 (7055H)=08 (7056H)=0D (7057H)=15 (7058H)=22 (7059H)=37 (705AH)=59 (705BH)=90 (705CH)=E9

THANK YOU
Tags