* 为位置计数器,有一点不清楚

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

* 为位置计数器,有一点不清楚

528 次查看
zhongkangwei
Contributor I

org y:400

GEN_TBLS equ *

GEN_TBL_LEN equ 32

GEN_VA ds 100

GEN_VB ds 100

GEN_TBL_END equ *

NUM_GENS equ 32

;----------------------------------------------------------------------------

org y:GEN_TBL_END

WAVE_TBLS equ *

WAVE_TBL_0 ds 256

    请问GEN_TBLS是400吗?

   GEN_TBL_END是 400+32+100+100吗?

我想问问,*是不是只在org生效一次,如果接下来的程序还有 分配变量空间ds,是不是*代替的值就不变,只在ORG时有效?还是org后,location counter变一次,每次ds 一个字节, location counter就加1?

0 项奖励
回复
1 回复

454 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Could you provide more detailed info about your application?

The MCU part number and related sensor part number? Thanks.


Have a great day,
Mike

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复