Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

8051 increment problem

Status
Not open for further replies.

hassan ali

Member level 2
Joined
May 18, 2010
Messages
47
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
egypt
Activity points
1,667
how to increment six digits in 8051 ????
by example if i have 123456 (how can i increment the first number "6" to reach to 9 and then became "0" and became 123460 and so on for all numbers)
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,928
Helped
14,143
Reputation
28,545
Reaction score
12,827
Trophy points
1,393
Location
Bochum, Germany
Activity points
278,099
Before asking how to increment, you should know about the involved number format. It may be binary (long), binary coded decimal or ASCII characters. Increment respectively adding can be done for each of the number formats.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top