0 Members and 1 Guest are viewing this topic.
I kinda wondered about that...is there a way to force axe to see it as a negative number i.e. when using Disp ?
when using the Sin( function, depending on where it is used you can use the Sign{ command to convert a "Normal" negative number into input the function can read in the right context. Since -1 == 65535 in axe (if you're using a general purpose variables [all of which are 16 bit] such as vars A-Z and Theta) then the Sin( is calculating the sin of 65535. at least methinks. Even if it is doing it correctly, a Sign{ function never hurts, I know that for sure.
ummmm... ok. i sorta get it. well fortunately, i won't be dealing with anything over 65535, unless its negative. but in the event that it i do have to deal with the sin( of a negative number, is there some way to get a pointer to the ram where the A-Z and Theta variables are stored? (or even better, the pointer to a specific variable.)