Switch to full style
PIC Assembly Articles
Post a reply

Elements of Assembly Language Instruction

Sun Mar 31, 2013 3:34 pm

Elements of Assembly Language Instruction :
Any PIC Instruction consists of:
Code:
Label        Mnemonics        Operands

  1. Label: is textual designation for a line in a program, or section of a program to can jump to the beginning of set of lines of a program.
  2. Mnemonics: is the instruction which already defined by the use of microprocessor. It is the instruction set or the syntax of the used microprocessor.
  3. Operands: are the instruction elements for the instruction is being executed. They are usually registers or variables or constants.
  4. Comment: is a series of words that a programmer writes to make the program more clear and legible. It is placed after an instruction, and must start with a semicolon ";". It is optional.

Code Example :
asm code
start movlw 0x03


Here the start is a label. movlw is a opcode. 0x03 is a operand.



Post a reply
  Related Posts  to : Elements of Assembly Language Instruction
 Parsing a Processing Instruction     -  
 what is c++ a brief to c++ language!!!     -  
 How do you know when to use the right programming language?     -  
 Window Through C Language     -  
 PIC Assembly For Loop Example     -  
 macro usage PIC assembly     -  
 Which language is required to set up a web application?     -  
 in what language is C++ and Java are written?     -  
 Mark-up Language Differences     -  
 multiply two numbers in PIC assembly     -