Monday, May 9, 2016

Geometric series

1. Program to generate a geometric series of length n, stored at 5000H. The value of a and r are stored at 5001H and 5002H. Store the series from memory location 5003H.


Screenshot before generating the series. See the content from 5000H. The length of required series is 5 with a=2 and r=3.






Screenshot after generating series. See the contents from memory location 5003H. The series of length 5 is generated.


2 comments:

  1. THE 8085 SIMULATOR SAYS THAT PROGRAM GOES INTO INFINITE LOOP, AS THERE IS NO HLT INSTRUCTION

    ReplyDelete