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

Re: [f-cpu] Resume of Fcpu features



hi,

Michael Riepe wrote:
> 
> On Sat, Dec 01, 2001 at 03:56:35PM +0100, Yann Guidon wrote:
> [...]
> > > - 2 adressing mode : immediat and register only.
> > ??? immediate ?
> [...]
> 
> Loadcons and loadaddr are immediate instructions, aren't they? ;)
> 
> In fact, we have at least four modes:
> 
>         register (most instructions)
>         indirect (2-operand load/store)
>         indirect with postincrement (loadi, storei, 3-operand load/store)
>         immediate (loadcons, loadaddr)
> 

i'm sorry, but "addressing mode" is not "instruction format".
loadcons and loadaddr are not considered as "addressing modes"
because they don't access memory. furthermore,
"indirect" is the same as "register" (in my own terminology).
postincremented is not very different, there's only a bit more parallism.

the thing that i want being remembered is that there is only
one way to access the memory. The programmer must remember to
prepare the pointers in the registers as soon as possible,
before using the register to effectively access data.

>  Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
WHYGEE, just being picky :-)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/