BydoEmpire Posted January 10, 2021 Share Posted January 10, 2021 in 7800 basic, the docs say $ to specify a hex value. I had previously been using 0x which seemed okay. Do both work in all situations? for example: temp1= temp2&0xf vs. temp1= temp2&$f They seem to, but I don't want to assume, because I've spent days debugging some tricky code and I'm looking for anything silly I may have overlooked. Quote Link to comment https://forums.atariage.com/topic/315670-7800-basic-hex-0x-vs/ Share on other sites More sharing options...
BydoEmpire Posted January 10, 2021 Author Share Posted January 10, 2021 FWIW, I seemed to have fixed the bug I was working on. One of those creepy ones where you're not exactly sure what you did to fix it. I had a bunch of compounded if then lines in my algorithm, and something didn't play nicely. I am curious if there are any limitations of $ vs. 0x , but I can verify now that the major issues seem fixed. 1 Quote Link to comment https://forums.atariage.com/topic/315670-7800-basic-hex-0x-vs/#findComment-4721589 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.