Computer Science, asked by gyaneshkarn, 1 year ago

explain the feature and uses of the following in the context of computer software and programming assembler interpreter subroutine function

Answers

Answered by Anonymous
5

An assembly (or assembler) language,[1] often abbreviated asm, is any low-level programming language in which there is a very strong correspondence between the program's statements and the architecture's machine code instructions.[2] The major exceptions are:[1]

Assembler directives[3]

Macro instructions[4]

Each assembly language is specific to a particular computer architecture and operating system.[5] In contrast, most high-level programming languages are generally portable across multiple architectures but require interpreting or compiling. Assembly language may also be called symbolic machine code.[6][7]

Assembly code is converted into executable machine code by a utility program referred to as an assembler. The conversion process is referred to as assembly, or assembling the source code.

Answered by homosapiens45
4

Assembler

An assembler is a program that takes basic computer instructions and convert them into a pattern of bits that the computer processor can used to perform its basic operations.

features

  • few run time errors
  • assembler can make it very easy to have re entrant and tread safe procedure
  • it support processing of user defined macros
  • support unified assembly language

uses

We mostly write a program in high level language but machine can understand only machine language. So it convert assembly language to machine language

Interpreter

Interpreter is a program that execute instructions written in a high level language. The interpreter transforms high level language into an intermediate language

features

  • make easy to learn and use
  • allow complex task to to be performed in relatively few step
  • allow the addition of dynamic and interactive activities to web page

uses

interpreter convert the high level language to intermediate language

Subroutine function

The section of a computer program that is stored only onces but can we used when required at several different point in program.

features

  • reducing complexity
  • reducing duplicate code
  • saving space
  • code reusability

uses

used to break the code. once the code is wrote it can be used anywhere in program




Similar questions