Re: A86: .db numbers


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

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


References: