Position: Index > Unclassified >

Building embedded software using algorithm flow charts

2017-12-23 23:57  
Declaration:We aim to transmit more information by carrying articles . We will delete it soon, if we are involved in the problems of article content ,copyright or other problems.

Embedded software consists of various functions performing particular tasks. Before writing any ASM or C code it is good to draw algorithm flow chart. Flow charts are visual method of representing inner algorithm. It is easer analyze the algorithm and write the code according to diagram.

The main parts of diagram:


Fig 1. Simple series instructions


Fig 2. Parallel instructions


Fig 3.if-then-else structure


Fig 4.while (for) structure


Fig 5. do until structure


Fig 6.case structure

For each function or procedure make separate algorithm flow charts a€“ this enables easer integration of them in to main function.

Sample how program flow chart may look.

image007.pngFig 7. Sample program Flow Chart

Reprinted Url Of This Article: