Friday, 15 March 2013

Program to calculate a^b

A µP 8085 Program to Calculate a^b. The calculation is possible upto 8-bit and has to be stored in a memory location.

LDA 8500H

LXI H,8600H

MOV B,M

ZERO ANA

DCR B

JNZ ZERO

STA 9100H

RST 1

load a into 8500H, b into 8600H and check o/p at 9100H...kindly verify the program!


Happy Programming... cheers

No comments:

Post a Comment