Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

 
5.2 .define

.define is used to introduce new name which have type of L_CONST (constant). There is two forms of .define:
  .define name ; or

  .define name = expression
When first form is used, value of name is 1:
  .define W = 0 ; W == 0

  .define F  ; F == 1
It is very useful in include files like 'p16c84.inc' that define 'W' and 'F' with .define. If we used assign expression we did not permit changing of names 'W' and 'F' so user can mistake and reassign value. With .define name is not reassignable.
 
[PREV][INDEX][NEXT]