Program Development Steps in ALP

Following are the program development steps used in assembly language programming.

Defining the Problem

  • The first step in writing the program is to think very carefully about the problem that you want the program to solve.
  • At this point you need not to write down program but you must know what you would like to do.

Algorithm

The formula or sequence of operations or tasks need to perform by your program can be specified as a step in general English and is often called as Algorithm.

Flowchart

  • The flowchart is a graphically representation of the program operation or task.
  • The specific operation or task is represented by graphical symbol such as circle, rectangle, diagonal, square and parallelogram.

Initialization Checklist

  • In program there are many variables, constants and various part of the system such as segment registers, flags, stack, programmable ports etc. which must be initialize properly.
  • The best way to approach the initialization task is to make the checklist of the entire variables, constants, all the registers, flags and programmable ports in the program. :
  • At this point you will come to know which parts on the checklist will have to be initialized.

Choosing Instructions

  • Next step.is to choose proper instruction that performs your problem’s operations or tasks.
  • This is an important step, so you must know entire instruction set of the microprocessor, the operation performed and flag affected after the execution by the instructions.

Converting Algorithms to Assembly Language Program

  • Once you have selected the instructions for the operations – to be performed, then arrange these instructions in sequence as per algorithm, so that desired output must be obtained after execution.
  • In assembly language program, a first step is to set up and declare the data structure that the algorithm will be working with, then write down the instruction required for initialization at the start of the code section.
  • Next determine the instructions required to implement the major actions in the algorithm and declare how data must be positioned for these instructions.

Recent posts

1 thought on “Program Development Steps in ALP”

  1. There are some fascinating time limits in this article but I don’t know if I see all of them middle to heart. There’s some validity but I will take hold opinion until I look into it further. Good article , thanks and we want extra! Added to FeedBurner as well

Leave a Comment

Your email address will not be published. Required fields are marked *