??? 09/30/09 19:32 Modified: 09/30/09 19:34 Read: times |
#169310 - LCD Tutorial and assembler help please |
Hello,
I have some questions about the LCD tutorial. I'm using Keil and Proview32(I prefer Proview32) for some 8051 projects and decided to learn more, using this tutorial. I have some problems understanding the directives though. I've searched documentation and still am not sure. DB0 EQU P1.0 DB1 EQU P1.1 DB2 EQU P1.2 DB3 EQU P1.3 DB4 EQU P1.4 DB5 EQU P1.5 DB6 EQU P1.6 DB7 EQU P1.7 EN EQU P3.7 RS EQU P3.6 RW EQU P3.5 DATA EQU P1 i understand that i might have to declare some of these DB constants like this: DB x,y,z but what how would i go about equating constants? DB EQU x, EQU y, EQU z will that work? also, I'm not sure my assembler recgonizes EN, RS, or RW. I cannot find this in the docs. Can someone please help? thanks Malik |