>> Yeah! Let's for example tokenize CALL as #CD, RET as #C9 etc...
>
>Well yes, that was the idea. Would assemble really fast, wouldn't it?
>And if use #FF as opcode for other things like labels or comments... (#FF
>#FF = RST #38).
>#21 #00 #00 would then be LD HL,#0000 in the code and
>#21 #FF "LABEL1" would be LD HL,LABEL1.
Gee... again, this already exists and it's called OBJECT CODE! 8:D
But the great thing is... that it's indeed a great idea and it would work!
ZX Spectrum used straight tokenized BASIC, and most BASICs (if not all)
tokenize internally. I'm also coding a PostScript tokenizer for small
computers!
Then the assembling pass would *somewhat* disappear... direct linking?!?
Kiss you.
MARK 2
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****