Re: Compass improvement??? Jon! Listen!

1999-07-24 Thread MkII

 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,# 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/)




RE: Compass improvement??? Jon! Listen!

1999-07-23 Thread Boon, Eric

Hey... hey!!!

JON!!! Listen!!!

Can't you tokenize the source in Compass??? This has two advantages:
 1. the assembling-speed will be increased drastically, and
2. the size of the .ASM-files will be reduced a lot!

Yeah! Let's for example tokenize CALL as #CD, RET as #C9 etc...

:-)

Eric


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/)




Re: Compass improvement??? Jon! Listen!

1999-07-23 Thread MkII

JON!!! Listen!!!

Can't you tokenize the source in Compass??? This has two advantages: 1. the
assembling-speed will be increased drastically, and 2. the size of the
.ASM-files will be reduced a lot!

Tokenized assembler already exists. It's called machine code! 8;D




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/)




Re: Compass improvement??? Jon! Listen!

1999-07-23 Thread Laurens Holst

 Hey... hey!!!
 
 JON!!! Listen!!!
 
 Can't you tokenize the source in Compass??? This has two advantages:
  1. the assembling-speed will be increased drastically, and
 2. the size of the .ASM-files will be reduced a lot!

 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,# in the code and
#21 #FF "LABEL1" would be LD HL,LABEL1.


~Grauw


--

  email me: [EMAIL PROTECTED] or ICQ: 10196372
 visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/




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/)




Re: Compass improvement??? Jon! Listen!

1999-07-23 Thread Laurens Holst

  JON!!! Listen!!!

 I'm here!!

Hehe...


  Can't you tokenize the source in Compass??? This has two advantages: 1.
the
  assembling-speed will be increased drastically, and 2. the size of the
  .ASM-files will be reduced a lot!
  You can include an option to let the user decide if the code is upper-or
  lowecase...

 I'm busy with that sort of stuff for version 2.0. It's not really
 tokenized, but during the editing process, the format is already
 optimized for the assemblermodule...

Hmmm... You put the corresponding assemblercode already 'behind' the text
while editing or so??? Well, anyways, it's nice if it could assemble even
faster (you should really pass WBASS concerning this).


  Well, maybe it's not a good idea... Just check it out.

 that's what I've been doing past months...

Okidoki.


  Another remark: the TABS are wrong sometimes. If a label is exactly the
  length of the TAB, then if I put comments behind it the space inbetween
will
  not be taken into account by Compass, resulting in the comment not being
  seperated from the code.
  Example: LD(COPYFILENAME+8),A;Fill in copydata...
 
  Do you get what I mean?

 yup, but depends where you like the ;blabla... immediately behind the
 code or on the next TAB. It is assembled correct if I'm right...

Dunno. But it looks really strange, so I suggest you always assume a space
before the ;comment in the next version.


~Grauw "awaiting Compass 2.0.00


--

  email me: [EMAIL PROTECTED] or ICQ: 10196372
 visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/




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/)




Re: Compass improvement??? Jon! Listen!

1999-07-23 Thread Laurens Holst

 JON!!! Listen!!!
 
 Can't you tokenize the source in Compass??? This has two advantages: 1.
the
 assembling-speed will be increased drastically, and 2. the size of the
 .ASM-files will be reduced a lot!

 Tokenized assembler already exists. It's called machine code! 8;D

Mwa. Machine code doesn't support labels.
But the fastest/easiest tokenizing is to use the same tokens as machine
code, indeed.


~Grauw


--

  email me: [EMAIL PROTECTED] or ICQ: 10196372
 visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/




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/)




Re: Compass improvement??? Jon! Listen!

1999-07-22 Thread Jon De Schrijder



Laurens Holst wrote:
 
  - source length limit of about 20K, even though the source is tokenized,
  this is not enough (especially comments take lots of space)
 
 Hey... hey!!!
 
 JON!!! Listen!!!

I'm here!!

 
 Can't you tokenize the source in Compass??? This has two advantages: 1. the
 assembling-speed will be increased drastically, and 2. the size of the
 .ASM-files will be reduced a lot!
 You can include an option to let the user decide if the code is upper-or
 lowecase...

I'm busy with that sort of stuff for version 2.0. It's not really
tokenized, but during the editing process, the format is already
optimized for the assemblermodule...

 
 Well, maybe it's not a good idea... Just check it out.

that's what I've been doing past months...

 
 Another remark: the TABS are wrong sometimes. If a label is exactly the
 length of the TAB, then if I put comments behind it the space inbetween will
 not be taken into account by Compass, resulting in the comment not being
 seperated from the code.
 Example: LD(COPYFILENAME+8),A;Fill in copydata...
 
 Do you get what I mean?

yup, but depends where you like the ;blabla... immediately behind the
code or on the next TAB. It is assembled correct if I'm right...

CU
jon


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/)