Request: A facility to get high or low byte variable from a word variable

hungarian

New Member
Hi,

Please can you add a facility to the editor (e.g. a macro) so that the low and high bytes of a word variable can be accessed without knowing the word address.

e.g. "Symbol Number=W3" and wherever the editor finds "Low(Number)" and "High(Number)" it substitutes "B6" and "B7" respectively.

And a similar request for bits of bytes.

Thanks.
 

Technical

Technical Support
Staff member
No, we will not do this, particularly as high and low are already output pin commands!

When using PE6 it is trivial to look at the code explorer on the right hand side of the screen and see which two bytes make up each word. You can then easily define a new symbol such as

symbol NumberLow = b6

CaptureExplorer.PNG
 
Top