Jeremy Leach
Senior Member
I don't think this is possible at the moment, but what I'd like as well as the @bPtr, is an @Address option, where you can actually specify the address in a statement.
For instance:
Where RAM_DampingFactor is a constant pointing to a RAM location...
I know this could be acheived using peek ..
Or , could be acheived if Bptr is set first ...
But it would be slick if the peek could be accomplished as part of the calculation. I expect this isn't possible to acheive though, without a big change to the way calcs are performed. Just thought I'd mention it though
For instance:
Code:
Symbol RAM_DampingFactor = 80 'RAM address 80
b0 = b1 + @RAM_DampingFactor
I know this could be acheived using peek ..
Code:
Peek RAM_DampingFactor,b2
b0 = b1 + b2
Code:
Bprt = RAM_DampingFactor
b0 = b1 + @Bptr