Sie sind auf Seite 1von 1

Sri Lanka Institute of Information Technology

Microprocessor Based Systems


Semester 1, 2010
Tutorial 3
1. Name the 2 File types in the File store and describe those using examples.
2. Show how PIC 16F877A has partitioned its data memory in to memory banks.
3. Explain how the bank selection for accessing Data memory of a PIC is
implemented.
4. Describe the C, DC, Z bits in the STATUS register.
5. Explain how the following segments of assembly code affect the STATUS
register?
a) movlw 0xF0
movwf num1
movlw 0x0F
andwf num1,f
b) movlw 0x0f
addlw 0x01
c) movlw 0x01
addlw 0xFF
6. Explain briefly the purpose of PCL and PCLATH SFRs.
7. Which instructions can replace the PCL content rather than just incrementing it by
one?

Das könnte Ihnen auch gefallen