Write an assembly language program to connect four LEDs with PORT B. Switch ON 4 LEDs for 0.1 millisecond and switch OFF 4 LEDs for 0.2 milliseconds for a 3 MHz microprocessor. The control word is 80. (No need for a connection diagram) Program and comments [2.5]. Delay program & calculation [2.5].
Port address: Port A = 00H, Port B = 01H, Port C = 02H, control word Register = 03H.
Write an assembly language program with comments to perform the following operation: 1AH + 2BH + 3CH - 22H. Store the final result in 3050 as Hex: [5].
Differentiate between a microcontroller, microprocessor, and microcomputer and give examples and applications of each [5].