Laboratory Activity No. 1: Cpe 511 - Microprocessor System
Laboratory Activity No. 1: Cpe 511 - Microprocessor System
Kabacan, Cotabato
College of Engineering and Information Technology
Submitted by:
Alfie T. Morales
Freylen Melkha P. Modina
Mark Jayson Garciano
5-BSCpE-A
Submitted to:
Undated:
PROBLEM:
Teach porta
Teach portb
Clear portb
No
Porta, bit
0=1?
Yes
Load reg_1
w/ 0x70
No Porta, bit
1=1?
Yes
Load w_reg
w/ 0x3A
No Porta, bit
2=1?
Yes
Add reg_1
and w_reg
No Porta, bit
3=1?
Yes
No
Porta, bit 4=1?
Rotate right
portb
Yes
Call delay
SOURCE CODE: