PIC16F876 & LCD display (long RE:)

Andy Jancura andy_jancura at hotmail.com
Wed Aug 29 23:19:10 CEST 2001


Ahoj,

>ve W mam 12
> > getstring: clrf pclath      ; nuluju pclath
> > movwf pcl			; skoc na 12 bunku
> > dt "AHOJ",0			; skoci na A, tomu rozumim, ale kam to ulozí?
>
>nebo jak to je

PIC ma dve instrukcie na navrat z podprogramov, return a retlw. Return je 
normalny navrat, kdezto Retlw ulozi do registra W pri navrate 8 bitovu 
hodnotu. V pamati to vyzera nasledovne:

clrf  PCLATH
movwf PCL
retlw "A"
retlw "H"
retlw "O"
...

Mimochodom, PIC moze mat aj vacsie tabulky nez 255 bytov a mozu byt 
rozhadzane v pamati kade tade.

A.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp






More information about the HW-list mailing list