Re: A86: .db numbers


[Prev][Next][Index][Thread]

Re: A86: .db numbers




Yeah, what I want to know is how you got that byte from the number 45.
Thanks,
--------------
Jbrett
tbarwick@esn.net
http://ww2.esn.net/~tbarwick
I just added a TI-86 page, Check it out!!!   
-----Original Message-----
From: Tercero <tercero@busprod.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Monday, September 21, 1998 10:48 PM
Subject: Re: A86: .db numbers


>
>JBrett wrote:
>> I have been having trouble learning how to write numbers in binary.
>> Could someone tell me how to write, say, 45 in binary??
>> Thanks,
>
>Let's see... 45 in binary would be 00101101. So you would enter it
>into your program:
>
>.db %00101101
>
>But try to use binary for masking only.  It gets unnecessarily confusing
>very quickly.  However, if confusing is what you want, go for it.
>
>-- 
>Tercero --  Email: mailto:tercero@busprod.com
>
>"The stone the builders rejected has become the capstone;"
> --Psalms 118:22
>"Everyone who falls on that stone will be broken to pieces,
>but he on whom it falls will be crushed."
> --Luke 20:18
>


Follow-Ups: