मराठी

How to Write and Execute Simple Assembly Language Program ?

Advertisements
Maharashtra State Board: Class 12

Assembly Language Programs

A program is a sequence of instructions written to tell a computer to perform a specific function. The instructions are selected from the instruction set of the microprocessor. To write a program, we divide a given problem into small steps in terms of the operation the 8085 can perform. These steps can also be represented by flowchart. These steps can further be translated into instructions. 

General Format of Assembly language Programs 

This is explained as follows :  

  1. Label is name of line. It is used in jump instruction. 
  2. Mnemonic consists of instruction and operands. For example: MOV A, M
  3. OP code (hex) is a corresponding hexadecimal code for the instruction.
  4. Comments are useful for understanding purpose of instructions. 
  5. Memory address is location where OP code is stored. Label and comment fields are optional.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×