Date : Thu, 23 Jun 2005 20:40:37 +1000 (EST)
From : Peter Craven <cjl_craves@...>
Subject: Re: BASIC IV: Coded Line Number
Hi All
Does anyone know how the three byte 'coded line
number' is calculated when using BASIC IV GOTO/ GOSUB
statements??
e.g. when GOTO 60 is investigated using a Memory Dump
Utility, it shows:
E5--------------20----------8D-----------54 7C 40
(GOTO token) (Space) (Line No. token) (Coded line
No.)
Cheers
Pete
How does the three hex values '54 7C 40' represent '60'??
Dr Peter Craven (MBBS Uni. of Qld)
12 Treacher St
Mt Gravatt
QLD 4122
Ph (H): (07) 3349 0820
____________________________________________________
Do you Yahoo!?
Win a dream trip to Western Australia, courtesy of the NEW My Yahoo!
http://au.my.yahoo.com/