SX/B Address Calc Error?
Hi All;
When I'm using the new SX/B conversion command HEXVAL in direct address mode, I believe the wrong address is calculated.... off by -1.
HEXVAL @__Param3, K compiles (first line) to:
and that points to __Param2, not to __Param3
I have not checked the other conversion commands.
Cheers,
Peter (pjv)
When I'm using the new SX/B conversion command HEXVAL in direct address mode, I believe the wrong address is calculated.... off by -1.
HEXVAL @__Param3, K compiles (first line) to:
1066 00BC 0C0B MOV FSR,#(__PARAM3-1) ; HEXVAL @__Param3, K 00BD 0024
and that points to __Param2, not to __Param3
I have not checked the other conversion commands.
Cheers,
Peter (pjv)
Comments
Yeah, not sure how that "-1" got in there. I will fix this.
Thanks.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There is a fine line between arrogance and confidence. Make sure you don't cross it...
·
On checking, I note that the same happens on HEXSTR.
Cheers,
Peter (pjv)
These should be fixed in version 2.00.12 that I have just posted.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There is a fine line between arrogance and confidence. Make sure you don't cross it...
·