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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

412 Views
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 Kudos
1 Reply

338 Views
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 Kudos