Home / Expert Answers / Electrical Engineering / use-the-mde-8051-microcontroller-to-design-a-4-bit-adder-subtracter-in-assembly-language-the-user-pa179

(Solved): Use the MDE 8051 microcontroller to design a 4 bit adder/subtracter in ASSEMBLY LANGUAGE. The user ...




Use the MDE 8051 microcontroller to design a 4 bit adder/subtracter in ASSEMBLY
LANGUAGE. The user inputs two 4-bit binary nu
Use the MDE 8051 microcontroller to design a 4 bit adder/subtracter in ASSEMBLY LANGUAGE. The user inputs two 4-bit binary numbers N and M on P3.0 to P3.3 and P3.4 to P3.7 The sum is sent to port P1.0 to P1.3 and the carry to P1.4. P2.0 is used to select either the addition or the subtraction operation. 4 bit adder/Subtracter 8051 P30 P3.1 N P3.2 Sum P3.3 Carry P3.4 P3.5 M P3.6 P3.7 P2.0 Add Subtract PLO PIJ P1.2 P13 PLA PLS PLA PL.7


We have an Answer from Expert

View Expert Answer

Expert Answer


Solution :: D: Answer: ASSEMBLY CODE: Note: when the value at P2 > P0 , the seven segment displays 'G' (greater than). ======================================
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe