Xunhua Guo

Hi,    I am learning HC08GP32. I have an assembly program...

Discussion created by Xunhua Guo on May 5, 2008
Latest reply on May 6, 2008 by Xunhua Guo
Hi,
   I am learning HC08GP32. I have an assembly programming question. That is how to load an address to A (accumulator), not the data hold in that address. For example:
....
TEMP1  EQU $8800
......
LDA TEMP1
 
The second instruction use TEMP1 as an address of data. If I want the address itself to be loaded to A, is there a better way than "LDA $8800" ? 
 
       Thanks!
                                    zen

Outcomes