Assembler || Programming Preliminaries || Bcis Notes

Assembler || Programming Preliminaries || Bcis Notes

Assembler

  • Assembler is the type of computer program that interprets software programs written in assembly language into machine language, code, and instructions that can be executed by the computer.
  • It enables software and application developers to access operations and manage a computer’s hardware architecture and components.
  • An assembler is sometimes referred to as the compiler of assembly language. It also provides the service of an interpreter.

Text Editor

  • The term editor is commonly used to refer to a text editor.
  • It is a software program that allows users to create or manipulate plain text computer files.
  • It is often used in the field of computer programming.

Compiler

  • A program that converts another program from some source language ( or HLL )to machine language (object code). The compiler goes away during execution.
  • Some compilers output assembly language which is then converted to machine language by a separate assembler.
  • It is distinguished from an assembler by the fact that each input statement, in general, corresponds to more than one machine instruction.

compilation into Assembly Language

Assembler

Interpreter

In computer science, an interpreter is a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program.

Algorithms

In computer science, an algorithm is a finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation. Algorithms are unambiguous specifications for performing calculations, data processing, automated reasoning, and other tasks.

Example:

Step 1: Start;
Step 2: int a=5,b=6,c;
Step 3: c=a+b;
Step 4: Printf c;
Step 5: stop

Flowcharts

A flowchart is a type of diagram that represents a workflow or process. A flowchart can also be defined as a diagrammatic representation of an algorithm, a step-by-step approach to solving a task. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows.

Example:

Assembler

 

Pseudocode

  • Pseudocode is an informal program description that does not contain code syntax or underlying technology considerations. Pseudocode summarizes the steps of a program or flow but excludes underlying details.
  • It is widely chosen because:
    – Easy to read and write.
    – It allows the programmer to concentrate on the logic of the problem.
    – Structured in the English language.

you may also like C Programming Language 

Be the first to comment

Leave a Reply

Your email address will not be published.


*