This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于外设寄存器的访问



我现在想学一下汇编的内容,我知道外设寄存器的访问可以使用  port( #1810h),

比如  MOV  port(#1810h), AR2

我们知道   1810h是 Time0的TCR寄存器,

我希望将上面的语句简单改成   MOV  T0_TCR, AR2

那么在汇编汇总是如何使用宏定义的呢?