Daniel,

> I don't get the idea... How to tokenize ASM? Get an hex editor and you
> do not even need to assembly it!

  Is easy! Is like BASIC! Look this example:
  LD    A,      04AH
  LD    HL,     021ABH
  LD    DE,     00390H
  CALL  My_Routine
  CP    6
  Total: 67 bytes
  (MSX-DOS texts, 0D+0A = Enter)

  I can compress it, and get:
   
  ld_token,09,"A",09,4A,0D
  ld_token,09,"HL",09,AB,02,0D
  ld_token,09,"DE",09,90,03,0D
  call_token,09,label_001A,0D
  cp_token,09,06,0D
  Total: 31 bytes

  It can reduces the file size and reduces the compiling time, without
  "eat" much CPU to save and load... :) And Daniel, don't forgwt that
  M80, GEN80 and others compilers was made in another age for "CP/M
  computers".  And remember that this computers ran owner CPU versions,
  uses owners I/O ports, etc... How you can optimize the source code?
  Impossible!

  We can say "COMPASS isn't faster! The others are slow!"


  ---
  Giovanni Nunes,  [EMAIL PROTECTED]



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

Reply via email to