Re: A86: Re: .db numbers


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

Re: A86: Re: .db numbers




Dux Gregis wrote:
> You can use your calculator to do the conversions :-)  45 is %101101

Or do this:

bit 0 - value of 1
bit 1 - value of 2
bit 2 - value of 4
bit 3 - value of 8
bit 4 - value of 16
bit 5 - value of 32
bit 6 - value of 64
bit 7 - value of 128

which bits are set?  1,3,4,6
add up the values. 1+4+8+32=45

-- 
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: