Posts

Showing posts from July, 2024

8051 Addition of 16-bit Numbers

  Addition of two 16-bit Numbers in 8051 The instruction ADDC (add with carry) is used for 16-bit addition. When adding two 16-bit data operands, we need to be concerned with the propagation of a carry from the lower byte to the higher byte. Program to add 2 16-bit numbers 3CE7H and 3B8DH. ORG 0H MAIN : CLR A ; clear accumulator CLR C ; clear carry flag MOV A, #0E7H ADD A, #8DH MOV R6, A ; save the low byte of sum MOV A, #3CH ADDC A, #3BH MOV R7, A ; save the high byte of sum END ; end of asm source file

application of the superposition theorem

 The application of the superposition theorem is, we can employ only linear circuits as well as the circuit which has more supplies. The superposition theorem cannot be used for non-linear circuits, but applicable for linear circuits. The circuit can be examined with a single power source at a time, the Equivalent section currents and voltages algebraically included discovering what they will perform with every power supply in effect. To cancel out all except one power supply for study, substitute any power source with a cable; restore any current supply with the break. Thus, this is all about an overview of the superposition theorem which states that by using this theorem, at a time we can analyze the circuit using one power source only, the related component currents, as well as voltages, can be added algebraically to observe what they will achieve using all power sources effectively. To cancel out all, but one source of power for analysis, then change any voltage source with a wire