Editor and assembler, Basic Computer Science

 

Editor and Assembler:

 

To write a program in any of the programming languages requires an editor.  This is  a program that is used to create text files. While saving the program, filename and extension as per programming language is required to be given e.g in C programming language f1.c, in C++ f1.cpp or f1.C, in Java f1.java etc.  The extension may also depend on the conventions of the operating system used, for instance, in unix the extension for a C++ program is .C while for Windows it would be .cpp.  There are different types of editors. Some of the programming languages have some specific built in editors.   

1251_editor and assembler.png

 A Programming Language is different from machine language, which is understood by a computer in the sense that it can be directly executed. Hence a program in any higher level programming language like C requires a translation process that can translate the source program into machine code so that it can be executed by the computer.   

As you may already know from a previous unit, programming languages can be low level languages or high level languages.

  Assembly language is a low level programming language similar to machine language, but far easier to write and understand because machine language binary instructions and operands are replaced by mnemonics that are comprehensible to humans. Just As a program written in programming language requires a translator to translate the source program in machine code, a program written in assembly language uses the utility named as assembler for translation purpose. Assembly language is the most basic programming language available for any processor. 

With assembly language, a programmer works only with operations implemented directly on the physical CPU. Assembly language lacks high-level conveniences such as variables and functions, and it is not portable between various families of processors.    

 

Posted Date: 10/23/2012 4:02:49 AM | Location : United States







Related Discussions:- Editor and assembler, Assignment Help, Ask Question on Editor and assembler, Get Answer, Expert's Help, Editor and assembler Discussions

Write discussion on Editor and assembler
Your posts are moderated
Related Questions

Important: • No cheating will be tolerated. • No late submissions. Total Points for this programming assignment: 100 The goal of your programming assignment is to build and experim


Question 1 Briefly explain waveform Characteristics Question 2 Write a note on: types of Microphones Question 3 Briefly explain Magnetic Properties of Audiotape

Historical Background The brief history of the growth of computers is given below: Abacus:   It was the first mechanical device developed approximately 3,000 year

Assume |s1|=|s2|=n and consider the functions defined, for any s1 and s2, as: (a) G1(s1,s2)=s1 xor s2, (b) G2(s1,s2)=(s1, s2, s1 xor s2). We have that: A. G1 and G2 are pseudo-ra

Question (a) What is a view? (b) Can we use a view to insert or update a record into a table? Do we have any limitation to perform the above command? (c) The syntax to cr

Our instructor gave us a project in making a mechanical game or simple device using assembly language, can anyone give me a an example of a project description for our proposal?

SYMBOLS CHART Every one of the parts on code line in assembler is known as token, for instance on the code line: MOV AX, Var We comprise three tokens, the MOV instruction, the AX o

• A multilevel queue scheduling algorithm divides the ready queue in several separate queues, for example • In a multilevel queue scheduling processes are lastingly assigned to one