8085 ?


what is cpi of 8085?

Asked By: sachindmi
On: Apr 13, 2006 4:15:35 AM

Comments(2)



first you understand the architecture of 8085 and take one simple application program ex traffic light controller and study instructions behind the program
Cpi is a one byte instruction (compare immediate)in 8085 of the following format:- cpi xx(8 bit). It compares contents of the accumulator immediately with the 8 bit data and changes the flag as follows:- 1. If (a)>xx;carry flag and zero flag are reset. 2. If (a)<xx;carry flag is set and zero flag is reset. 3. If (a)=xx;carry flag is reset and zero flag is set. This command actually subtracts xx from (a), but changes only the flags and there is no change in (a).
You have to be logged in to be able to post a comment. To login Click Here. First time? Signup It just takes a few minutes to sign up.
Members with Most Replies
Find Job Openings