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.
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.
THE 8085 SIMULATOR SAYS THAT PROGRAM GOES INTO INFINITE LOOP, AS THERE IS NO HLT INSTRUCTION
ReplyDeleteGenerate for n=8 and above
ReplyDelete