DE asm compiler instruction

Status
Not open for further replies.

Mosaic

Well-Known Member
Hi,
I want to use a constant with a DE instruction to the compiler.
rather than DE .140 , I'd like DE minute; where minutes is a predefined constant.

How is this done?
 
There are two ways...

Most use the EQU and set it
Code:
de   EQU    .140
Or just use the constant keyword if your assembler allows!!
Code:
constant de= .140
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…