This tutorial presents the assembly language in Bangla Language.If you find this tutorial helpful then share it with others to make them clear about the concept.
The ADD and SUB Instructions
The ADD and SUB instructions are used for performing simple additionsubtraction of binary data in byte word and doubleword size i.e.
for adding or subtracting 8-bit 16-bit or 32-bit operands respectively.
Syntax
The ADD and SUB instructions have the following syntax
ADDSUB destination source
The ADDSUB instruction can take place between
Register to register
Memory to register
Register to memory
Register to constant data
Memory to constant data
However like other instructions memory-to-memory operations are not possible using ADDSUB instructions.
An ADD or SUB operation sets or clears the overflow and carry flags.
Please Like Comment Share and Do not forget to SUBSCRIBE
If you face any problem you can Email me.
Email- rkmamun.csegmail.com
Facebook-
Источник: rutube.ru