Talk:BASIC09
From Wikipedia, the free encyclopedia
[edit] I-Code details
My understanding is that I-code is simply a series of JUMP instructions to the RunB module. Thus, the (perhaps) one byte op-code token is replaced with a three byte jump. Because the interpreter does not need to search in a tokenization table, and do all sorts of processing, the i-code runs much faster. Can anyone tell me if all of this (my recall of the BASIC09 documentation) is correct? I would like to update this article... --Reefpicker (talk) 16:32, 23 May 2008 (UTC)
- My memory of the BASIC09 doc is also hazy. However, I recall that i-code versions of BASIC09 source are very much smaller than the source. Some of this is surely due to removal of extraneous information, conversion of variable names to pointers when needed, etc. But the size reduction (plus something said in the doc?) led me to conclude that something more significant than a straight translation to a sequence of JMP instructions. However, I cannot be definitive and so can only relay hints from my porous memory. ww (talk) 09:11, 24 May 2008 (UTC)