Received: (from major@localhost)
	by minnie.cs.adfa.oz.au (8.8.8/8.8.8) id EAA16205
	for pups-liszt; Fri, 24 Apr 1998 04:22:42 +1000 (EST)
Received: from Zeke.Update.UU.SE (2026@Zeke.Update.UU.SE [130.238.11.14])
	by minnie.cs.adfa.oz.au (8.8.8/8.8.8) with ESMTP id EAA16199
	for <pups@minnie.cs.adfa.oz.au>; Fri, 24 Apr 1998 04:22:36 +1000 (EST)
Received: from localhost (bqt@localhost)
	by Zeke.Update.UU.SE (8.8.8/8.8.8) with SMTP id UAA19426;
	Thu, 23 Apr 1998 20:22:14 +0200
Date: Thu, 23 Apr 1998 20:22:12 +0200 (MET DST)
From: Johnny Billquist <bqt@Update.UU.SE>
To: "Ed G." <edgee@cyberpass.net>
cc: Milo Velimirovic <milov@toes.its.uwlax.edu>, pups@minnie.cs.adfa.oz.au
Subject: Re: Floating Point-How Important
In-Reply-To: <199804221431.JAA01741@mail1.kcnet.com>
Message-ID: <Pine.VUL.3.93.980423201643.18607G-100000@Zeke.Update.UU.SE>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-pups@minnie.cs.adfa.oz.au
Precedence: bulk

> Would these be a valid instructions?
> 
> jmp -10000(pc) ; jump backwards 10000 bytes
> jmp 10(r5); jump ten bytes past the location pointed to by r5
> jmp @500(pc); jump to the address contained in the location pointed 
> to by the sum of 500 and the pc

All of these are valid instructions. The first one is normally written in
DEC assembler as

FOOBAR:	.BLKB	100000
	JMP	FOOBAR

The third would normally be written as:

	JMP	@QUUX
	.BLKB	500
QUUX:	4712

(That ought to jump to address 4712).


The next (obvious) question is how you specify an absolute address,
well...

	JMP	@#4712

After looking at it for a while, the syntax should be pretty obvious for
you. #4712 is an immediate literal, and prepending an @ means indirect.

	Johnny

Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


