[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [f-cpu] THasm 0.1



> For the "logic" instruction, i hope you looked at the more up-to-date
> documentation located in the snapshots (f-cpu/vhdl/eu_rop2/ROP2.txt)
> and the exact encoding is in F-CPU/FORMATS.txt (IIRC).
> 

No, for the moment I've respected the current release of the manual (yes 
I known it was out of date for some part but...).
But it was simple to update it, you just need to edit the std.inc file 
and change the instructions definition (no need to recompile), it was 
the advantage of inline definition of instruction.

>>You can define new encoding format or new instruction directly in your
>>asm file so for ISA testing it could be very usefull.
> 
> 
> that a curious and unusual feature, but if it works correctly,
> it's interesting as well :-)

It work...
This first release was only made for testing if that idea can work and 
if I could obtain resonable assembling time. For the moment I can 
assemble 20000 line per second with badly written and unoptimized code 
and I hope best for the future, so it was sufficient for hand written 
code and small compiled program.
I known that medium and big compiled program need best perf, but this is 
not the domain of this assembler, it was best to use specialised or 
internal assembler in this case.

>>For the moment it does not have label handling, "db", "dw"... pseudo
>>instruction and preprocessor, but this was added soon.
> 
> 
> this lack in ygasm is what made me break my code. forward label declaration
> is a very important feature and i had to rework the memory management,
> and the rest has broken up. Be careful.

I've started a full rewrite of THasm with this in mind, I implement a 
forward label definition and some other tricks, but for the moment no 
local label, no backward value associations.

>>You can get it on seul.org in my folder the zip file contain full
>>source, file format documentation and windows binnaries. I'm sorry I
>>don't provide linux binnaries for the moment because I need to
>>redownload it and it was a huge file...
>>I hope I could add it quickly.
> 
> 
> i wish i'll integrate it soon to the snapshots.

This is only a test version for the format instruction idea, it was 
quickly out of date, I think it could be better to wait for the next 
release.

-- 
Thomas Lavergne                       "Le vrai rêveur est celui qui rêve
                                        de l'impossible."  (Elsa Triolet)
thomas.lavergne@laposte.net
d-12@laposte.net    ICQ:#137121910     http://assoc.wanadoo.fr/thallium/


*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/