//f-cpu/jwsasm/README.txt
Sat Jul 27 19:05:00 CEST 2002 JWS: created.



When i added binary support to the f-cpu c simulator, i needed
a assembler to be able to test things.

i had sow YGASM in a YG's snapshot, but it was broken, and
i dit not see an easy way to fix the memory alocation code.

what i did instead was this: (its not a lot)

-took an old version of YGASM (31 dec 2001) witch was marked
 as "stable"...

-renamed the directory to jwsasm (to stop confusion)

-renamed the compiled program to jwsasm (in the runme.sh file)

-changed the exec. permissions

-added jwsasm to clean.sh

-YGASM OR-ed each instruction with the last one, i solved
 this by adding the line:
    current_instruction = 0;
 after: /* reset for the next round : */ in ygasm_bin.c
 ( "opcode" is not used, but "current_instruction" is not reset)


i used it ro test scheduling with mixed add / move instructions,
witch was very useful.

some remarks:

- there is some ROP2 code, but it returns a single opcode for all
  rop2 functions

- 3r1w instructions are not supported.

- some (all?) flags are not supported.

- all improvements sins 31 dec 2001 are missing

- etc.