Re: A83: label from input
[Prev][Next][Index][Thread]
Re: A83: label from input
Ya, but somebody gave an example of putting "Right" into hl and then
being able to go to the label "Right:". Apparently, you don't read
everything.
Revenant
PS. Did I care?
>
>Yes, but a _word_ means 16 bits.
>
>Linus
>
>PS. Mail signatures are max 5 lines, didn't you know?
>
>
>On 24-Jul-98, Revenant wrote:
>
>>>At 12:57 1998-07-23 PDT, you wrote:
>>>>
>>>>Hey,
>>>>You can't jump to a label by putting the name of it in hl or
anywhere
>>>>because when the code is compiled all the labels disappear and all
the
>>>>jp Right, or such, turn into the position in ram and there are no
>>labels
>>>>in it.
>>>
>>>
>>>ofcourse not.. but I thought he was asking for putting an addres in
>>hl
>>>and jump to that address.. and for this jp (hl) works just fine :)
>>>
>>>//Olle
>>>
>>Here is the original question:
>
>>Ok, here's another question; Is there anyway to store a _word_ into a
>>varible
>>like 'hl', then without using 'cp', jump to a _label_ called whatever
>>'hl'
>>is?
>
>
>
>
>> .-"""-.
>> / .===. \
>> \/ 6 6 \/
>> ( \___/ )
>> _______________ooo__\_____/____________________
>> / \
>> | Revenant revenant_1@hotmail.com ICQ#3608935 |
>> | VISIT THE JAVASCRIPT REFERENCE |
>> | http://www.geocities.com/~homosapian/ |
>> \_____________________________ooo_______________/
>> | | |
>> |_ | _|
>> | | |
>> |__|__|
>> /-'Y'-\
>> (__/ \__)
>
>
>>______________________________________________________
>>Get Your Private, Free Email at http://www.hotmail.com
>
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
Follow-Ups: