Computer Science, asked by varshitha5249, 1 year ago

Explain basic format of instruction and types of instruction in detail

Answers

Answered by ironman34
0
1)Arithmetic instructions perform several basic operations such as addition, subtraction, division, multiplication etc. After execution, the result is stored in the first operand
2)
Branch Instructions

There are two kinds of branch instructions: Unconditional jump instructions: upon their execution a jump to a new location from where the program continues execution is executed. Conditional jump instructions: a jump to a new program location is executed only if a specified condition is met. Otherwise, the program normally proceeds with the next instruction

3)Data Transfer Instructions

Data transfer instructions move the content of one register to another. The register the content of which is moved remains unchanged. If they have the suffix “X” (MOVX), the data is exchanged with external memory
4)Logic instructions perform logic operations upon corresponding bits of two registers. After execution, the result is stored in the first operand. 
5)bit-oriented instructions perform logic operations. The difference is that these are performed upon single bits. 
Similar questions