1. Binary values

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

new topic     » topic index » view message » categorize

2. Re: Binary values

> 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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu