Re: A83: Help TASM


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

Re: A83: Help TASM




In the beginnning of a program you usually type
.org 9327h

that's the memory location where the program is when it runs
if you have your program

.org 9327h
jimmy:
	ld	a,69h
stefan:
	jr	jimmy


then it's the same as jr	9327h

if we would have teh label stefan then it would be 9329h because
it takes two bytes to ld	a,69h

/Stefan

stefan@infi.ml.org

On Mon, 4 May 1998, Jimmy Conner wrote:

> 
> I have a semihard question.
> I need to know how the tasm compiler encodes the labels. For example:
> If you have:
> 
> Jimmy:
>  ld a,69h
>  jr Jimmy
> 
> I need to know how the compiler tells it where it should jump to, in the 
> program.  Does it go to a certain byte ect...
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 


References: