✍️ Get Writing Help
WhatsApp

PIC18F452 microcontroller

Project TEB2053/TEB2203
The partial schematic diagram below shows an example of I/O interface using
PIC18F452 microcontroller. Port B is connected to two LEDs and port C is connected
to two switches.
You are to write an assembly language program to fulfill the control requirements as
listed in the table below. You must use the masking technique. Your code must be well
commented. Submit only your source code in .asm format. Use meaningful label and
variable in you code.

S1 S2 L1 L2
P NP ON OFF
P P ON ON
NP NP OFF OFF
NP P OFF ON

AssignmentTutorOnline

P = Pressed
NP = Not Pressed
– END OF PAPER –

RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
RA2
RC2
RC1
S2
S1
L2
L1
Gnd

+5V
PIC18F452
Gnd Gnd

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102