[A83] Re: Official H**s Replacement Commands (OT)


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

[A83] Re: Official H**s Replacement Commands (OT)




>> 8 shifts right 8 (get upper byte)
& 255 ands with 255 (get lower byte)

In this code it's obviously a joke, but >> 8 is often used for optimizing
tables by splitting them across 256 bytes.

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Jeff Ruud
Sent: Tuesday, July 03, 2001 1:24 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: Official H**s Replacement Commands (OT)



What are the >> and & in those lines for?
	ld	a,plotsscreen >> 8
	ld	a,plotsscreen & 255


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




References: