[net.micro.cbm] Relative Branching

rogerb@tekmdp.UUCP (Roger C. Bonzer) (07/29/83)

	The Programmers Reference Guide for the Commodore-64 gives
short descriptions of the 64 machine language.  One thing it does not
give, though, is instructions on using the relative branch/jump.  The
Guide says it uses one byte to enable it to jump back up to 128 bytes
or forward up to 127.  What is the syntax for this?  Every time I have
tried it I get burned (ie, lost somewhere in garbage).  The most likely
choices seem to be
		1) To jump n, offset = (255 and n), and
		2) offset = 128 + n.
	I don't have the C64 assembler (for someone who does, is it
worth it?), and it really is something that needs to be explained, so
if anyone has any pointers, I'd sure appreciate it.

				Thanks in advance,
					Roger Bonzer
					...!tektronix!tekmdp!rogerb