You are on page 1of 1

Date :-

Practical No. 7(e)

Aim:
Write an assembly language code in GNU 8085 to perform Rotate operation.

Program:

Address Label Mnemonics Hexacode Comment

2000 LOA 2050 A<-M[2050]


2003 RLC - Rotate content
2004 RLC of accumulator
2005 RLC - Rotate as above M
2006 RLC [2050] <-A
2007 STA 3050 FND
200A HIT

Obseration:
Input: Address Data Output:

2050 98 Address
Data

3050
89
Page

You might also like