1. Binary values
- Posted by Jonas Temple <jktemple at yhti.net> Apr 22, 2002
- 383 views
Okay, maybe I'm just having a mental block here. If I am peeking data from memory that is defined as a 4-Byte binary number, how would I convert that to an atom to display the value to the user? Probably showing the first signs of old age...Jonas
2. Re: Binary values
- Posted by "Thomas Parslow (PatRat)" <tom at almostobsolete.net> Apr 22, 2002
- 359 views
> Okay, maybe I'm just having a mental block here. If I am peeking data > from memory that is defined as a 4-Byte binary number, how would I > convert that to an atom to display the value to the user? > Probably showing the first signs of old age...Jonas If it's a signed value (can be negative or positive) then use: a = peek4s(address) Otherwise you should use: a = peek4u(address) Thomas Parslow (PatRat) E-Mail/Jabber: tom at almostobsolete.net ICQ: 26359483