You are on page 1of 3

UNIVERSITY OF ZIMBABWE

TUTORIAL SHEET 1

FACULTY: Engineering
DEPARTMENT: Electrical
PAPER TITLE AND CODE: Microprocessor Fundamentals EE312
DURATION: 2 Hours
SUPERVISOR(S): Mr. H. Katongera
Microcontroller Fundamentals EE 312

1. Which of the two computer architectures is show in Figure 1

Figure 1: One of the two computer architectures. Image adapted

2. The system in Figure 2 is for a computer. What difference are in this system with that of
the Microcontroller architecture?

Figure 2: Structure of a Computer. Image adapted

3. Study the code below

MAIN movwf 0x004, 0x001 ;direct addressing


movff 0x304, 0x305 ;direct addressing N.B. address words
goto MAIN ;jump back to MAIN

i. Identify the label in the code

ii. State the difference between the two instructions movwf and movff

iii. Show a flow diagram for this code

2
Microcontroller Fundamentals EE 312

iv. State when the code will stop executing

4. Draw a flow diagram for a one second delay


5. State how many bytes and bits are in a Word
6. The PIC18F4250 architecture is shown in Figure 3.

Figure 3: Architecture for PIC18F4520. Image adapted

Identify:

i. the number of ports available

ii. the number of analogue IO pins available

You might also like