sx/b variable at fixed address possible?
I tried in sx/b
ppp var byte @__RAM($10)
It compiles just fine, but when I look at the listview
ppp is located below the other variables, not at $10.
Is it possible to alias ppp to a specific address?
regards peter
ppp var byte @__RAM($10)
It compiles just fine, but when I look at the listview
ppp is located below the other variables, not at $10.
Is it possible to alias ppp to a specific address?
regards peter
Comments
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Coming soon! Propeller based OSD module www.hittconsulting.com
·
Problem is I cannot use ppp in a for/next then.
Generates error Byte parameter expected,
though $10 is a valid byte parameter address.
Would be nice if we could use
ppp var byte @__RAM($10)
ppp var word @__RAM($10)
and ppp being recognized as byte or word
regards peter
The beta version should let you use it in a FOR/NEXT.
I'll look into having it declared as a "normal" byte variable.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Coming soon! Propeller based OSD module www.hittconsulting.com
·