Study Electronics

Study Electronics Here

Menu

Skip to content
  • Tutorials
    • Embedded C programming Tutorial
    • Computer Programming classes
    • Android App Development Tutorial
    • Learn Stock Market
  • Learn Stock Market
  • New Technologies
  • Electronics STUDY MATERIALS
    • Electronic circuits and devices
    • Linear Integrated Circuit
    • Communication
    • Computer
  • Ask Me
  • Contact Us
  • About us
  • Privacy policy

High level programming languages & Assembly Language

Posted by electroadmin on 6 August 2016, 12:04 pm

Assembly Language

The instructions like MOV or ADD are called as opcode. The assembler directives help the program in getting compiled and hence wont be there in the object code. The assembler directive EQU, when used in the instruction : Sum EQU 200 does, Replaces every occurrence of Sum with 200 purpose of the ORIGIN directive is, indicate the starting position in memory, where the program block is to be stored, directive used to perform initialization before the execution of the code is dataword. reserve directive is used to specify and assign the memory required for the block of code

Return directive specifies the end of execution of a program. The last statement of the source program is END, branching code Branch offset and replaces the Branch target with it. assembler stores the object code in magnetic disk. Loader is a utility program used to bring the object code into memory for execution . Two-pass assembler is used to overcome the problems of the assembler in dealing with branching code

High-level programming language

FORTRAN is older high-level programming language. C is the newest high-level programming language. Java is a high level language. Unlike languages such as FORTRAN, C source code is free-form which allows arbitrary use of whitespace to format code, High level language are close to human language eg : pascal, fortran. Low level language are close to machine language, that is assembly language

FORTRAN stands for formula translation

FORTRAN – used for scientific purposes and work is to be done in batches

PASCAL – General use and as a teaching tool

PROLOG – Artificial Intelligence

COBAL – business application

COMAL – common algorithmic language

LOGO – used to encourage logical thinking and for learning geometric shapes

Fourth generation – Artificial intelligence

Fifth generation – OOP

In programming language functions are used to implement top down logic and to enhance logical clarity. Functions can be replaced by values without changing meaning is called referential transparency. The period of time between allocation and its disposal is called life time. Common features in FORTRAN is not in followed by languages because now memory is not a problem and evolution of virtual memory. Aliasing –two commands with different name shares same code, a particular location is associated with two names

  1. Overloading- function with same names but different parameters,
  2. Dangling reference – accessing a variable which is declared but not initiated, Accessing a storage which is already disposed by the processor,

Jensen’s device uses property of name parameter. Binding can occur while writing/compiling a program or invoking a subprogram. Binding in a program is an association of an attribute with a program component such as an identifier or a symbol. Binding time for an attribute is the time at which the binding occurs. Binding cannot be done while loading. Top down parsing method handles left recursive grammer. COBOL is not well suited for calculation. Pascal is a procedural programming language, designed by Niklaus Wirth. Pascal is Algol-based language, Algol 60 is a subset of Pascal

Compilers for running pascal – Turbo Pascal, free pascal, turbo51 (8051), Delphi, oxygene, GNU pascal. In LINUX free pascal is of three versions – tar.gz , .rpm , .deb. The source files for Pascal programs are typically named with the extension.pas

Target of an assignment statement should be 1-value, Float is not a data type in pascal. Pascal data type is classified into three – structured, pointer and scalar. In Pascal when a text file is opened for reading then eof and eoln are set to false

Contents

    • 0.1 Types of computers & system software
    • 0.2 concept of file, directory and folder
    • 0.3 DOS – Disk operating system
    • 0.4 For subject wise study materials  :
  • 1 Instrumentation
  • 2 Computer
  • 3 Communication
  • 4 Electrical
  • 5 Basic electronics
  • 6 Digital electronics
  • 7 Microprocessor
    • 7.1 Comments

Types of computers & system software

concept of file, directory and folder

DOS – Disk operating system

For subject wise study materials  :

Instrumentation

Computer

Communication

Electrical

Basic electronics

Digital electronics

Microprocessor

Comments

comments

Filed under Computer | Tagged aliasing, assembly language, binding in program, c, cobol, compilers, fortran, high level language, logo, pascal, prolog | Permalink

Post navigation

« Types of computers, system software, concept of file, directory and folder
C programming tutorial »

Like Our Facebook Page

Categories

  • Android App Development Tutorial (1)
  • Communication (7)
  • Computer (23)
  • Computer Programming classes (15)
  • Electronic circuits and devices (32)
  • Electronics STUDY MATERIALS (22)
  • Embedded C programming Tutorial (7)
  • Full Stack Web developer (5)
  • Learn Stock Market (2)
  • Linear Integrated Circuit (7)
  • New Technologies (12)
  • RRB JE Study materials (23)
  • Tutorials (23)
  • Uncategorized (1)

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

Archives

  • April 2020
  • June 2019
  • April 2019
  • March 2019
  • January 2019
  • December 2018
  • October 2018
  • September 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • February 2018
  • December 2017
  • October 2017
  • September 2017
  • July 2017
  • September 2016
  • August 2016

Recent Posts

  • Schmitt Trigger using OpAmp
  • How to open a free Demat Account ? [upstox]
  • Learn Stock Market : Online Free Course for Beginners (A to Z)
  • Half Wave Rectifiers [ Basic Electronics]
  • Voltage Regulation : Line regulation and Load regulation
About Us |Privacy Policy | Contact Us
© 2017 Study Electronics
Powered by Weboctor Technologies | Weboctor