Skip to content
The Computer Science
TheCScience
  • Engineering Subjects
    • Human Values
    • Computer System Architecture
    • Digital Communication
    • Internet of Things
  • NCERT Solutions
    • Class 12
    • Class 11
  • HackerRank solutions
    • HackerRank Algorithms Problems Solutions
    • HackerRank C solutions
    • HackerRank C++ problems solutions
    • HackerRank Java problems solutions
    • HackerRank Python problems solutions
The Computer Science
TheCScience

Process to Design a Flowchart of Program

YASH PAL, March 17, 2026March 17, 2026

Flowchart Design Process – The development steps of a program can be shown with a pictorial format, called a flow chart. Hence, the flow chart is a graphical tool that allows programmers to represent various actions that are to be performed. The role of a flow chart to solve any problem through software is the same as that of a block diagram in any hardware.

The graphical representation is very useful for a better understanding of the programming logic. In the flow chart, general language instructions are converted into symbolic representation. The advantage of symbolic representation is that a common person can understand the meaning of the instruction. Graphic symbols used in a flow chart are shown in the figure below.

Graphical Symbols Used in Flowchart
Graphical Symbols Used in Flowchart

Let’s take an example program to write an assembly language program to add two hexadecimal numbers, 13H and 26H, and display the result at port address 02H.

Solution: Development of the program involves the following steps.

  1. Problem statement
  2. Problem Algorithm
  3. Implementation of Instructions
  4. Debugging
  5. Manual Assembling
  6. Store the program
  7. Execute the program

Problem statement – Instruct the processor to add 13H and 26H and display the sum at the port address 02H.

Problem Analysis – Analysis of the problem is done with the help of an algorithm and a flow chart.

    Algorithm:

    • Step 1: Store the numbers in two different registers, where one must be the accumulator.
    • Step 2: Add the second register contents to the contents of the accumulator.
    • Step 3: Display the result at the port address 02H.
    • Step 4: Stop the execution.

    Flowchart of the program – A flowchart is the pictorial representation of the sequence of steps discussed in an algorithm. The flowchart for the given problem is shown in the figure below.

    Example program for flowchart
    Example program for flowchart

    Implementation of Instructions – The next step is to convert the flowchart into an assembly language program. Assembly language translation is shown as follows:

    AlgorithmFlow ChartInstructionComments
    Step 1Block 1MVI A, 13H
    MVI B, 26H
    Load Accumulator with 13H Load register B with 26H
    Step 2Block 2ADD BAdd the contents of register B to the contents of accumulator
    Step 3Block 3OUT 02HDisplay the sum (contents of the accumulator) at port address 02H
    Step 4Block 4HLTStop the execution

    Debugging – Now the assembly language program is ready and can be tested for proper functioning.

    Manual Assembling – The assembly language program is now to be converted into its equivalent machine language program.

    Instruction
    Opcode
    Instruction
    Operand
    Hex
    Code
    MVIA, 13H3E
    13
    MVIB, 26H06
    08
    ADDB80
    OUT02HD3
    02
    HLT76

    Store the Program – The next step is to store the program in the predefined memory space. Let the user memory start from 7000H.

    Instruction
    Opcode
    Instruction
    Operand
    Hex
    Code
    Address
    MVIA, 13H3E
    13
    7000H
    7001H
    MVIB, 26H06
    26
    7002H
    7003H
    ADDB807004H
    OUT02HD3
    02
    7005H
    7006H
    HLT767007H

    Execute the Program – Now execute the program written in memory space from 7000H to 7007H. To execute the given program, the starting address 7000H has to be provided to the processor.

    engineering subjects Microprocessor microprocessor

    Post navigation

    Previous post

    TheCScience

    We at TheCScience.com are working towards the goal to give free education to every person by publishing in dept article about Secondary, Senior-Secondary, and Graduation level subjects.

    Pages

    About US

    Contact US

    Privacy Policy

    DMCA

    Our Tools

    Hosting - get 20% off

    Engineering Subjects

    Internet of Things

    Human Values

    Digital Communication

    Computer System Architecture

    Programming Tutorials

    Data Structure and Algorithm

    C

    Java

    NCERT

    Class 12th

    ©2026 TheCScience | WordPress Theme by SuperbThemes