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

Re: [f-cpu] C/VHDL interface



Yann Guidon a écrit :
> 
> hi !
> 
> nicO wrote:
> > I could add there is many assembler soon written. So maybe, it will be
> > more interresting to make a quick emulator. Whygee one is for proof of
> > concept.
> it is also for preparing RTL files.
> 
> > So, we need a quick one to run long program at raisonnable speed.
> i think that it can't be "invented" : those who want to make
> lightning-fast emulators must read other's SW. There are many
> techniques and tricks such as "compiling" huge jmp tables on teh fly etc...
> 
> > If you put macro inside your asm, never forget to introduice the dot
> > (like .not), most of the time we expect that 1 instruction take 32 bits
> > but it could be much more with macro.
> ?
> 
> can you explain with more details/examples ?
>

For me ASM is just an other way to read a binary code. But if you use
macro, you don't know how much instruction are inserted like for .not
wich combine 2 instructions, or .loadcons with more than 16 bit. So the
dot si a good way to say : be carefull it's bigger than usual.

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