Electrix
Member
I have a question about the foll:
Now my question is that if I want to declare a constant that holds a hex value how should i define it.
Lets say i want DataByte should hold a constant of Hex 41. So if I write
it will not mean that DataByte is a constant holding value Hex 41. So how do I define it ?
Code:
DataByte equ 0x20; DataByte is at location 0x20 in RAM--VARIABLE---
Freq equ 4; Freq is same as 4--CONSTANT-------
Now my question is that if I want to declare a constant that holds a hex value how should i define it.
Lets say i want DataByte should hold a constant of Hex 41. So if I write
Code:
DataByte equ 0x41