•Gains: Reduced
component count in a circuit, high degree of
integration, shorter development time, lower manufacturing cost, lower power consumption, higher reliability, etc.
•Losses: Some
situations (very few) require extremely fast
response to events are poorly handled by the microcontrollers. E.g., Implementation of NAND operation using an 8051 microcontroller.
•LOOP: MOV C, P1.4 ;READ
P1.4 BIT INTO CARRY FLAG
• ANL C, P1.5 ;AND WITH P1.5
• ANL C, P1.6 ;AND
WITH P1.6
• CPL C ;CONVERT
TO NAND BY INVERTING
• MOV P1.7 ;SEND
TO P1.7 OUTPUT BIT