OpenCores
no use no use 1/1 no use no use
problem on instruction "addi"
by Unknown on Jan 2, 2004
Not available!
Hi all,
I have problem on using the instrucion of addi. For the instruction
set, the immediate value is just 16 bit only. If some one want to add an
immediate value that occupys more that 16 bit width? How they can do
that? Is it the only way? They just put the immediate value into a
general purpose register first, then it adds the values in two 32 bit
general register? Thank you very much.

Stephen
problem on instruction "addi"
by Unknown on Jan 2, 2004
Not available!
* whli_interqos@yahoo.com.hk (whli_interqos@yahoo.com.hk) wrote:
Hi all,
I have problem on using the instrucion of addi. For the instruction
set, the immediate value is just 16 bit only. If some one want to add an
immediate value that occupys more that 16 bit width? How they can do


you've just answerd your question i think. you can't do that
in orbis32 instruction set, but you can:

that? Is it the only way? They just put the immediate value into a
general purpose register first, then it adds the values in two 32 bit
general register?


regards,
p.

problem on instruction "addi"
by Unknown on Jan 5, 2004
Not available!
Hey ! on most 32-bit RISC architectures today you can only add 16-bit immediate. To add 32-bit number you have to use a register. regards, Damjan ----- Original Message ----- From: whli_interqos@yahoo.com.hk> To: openrisc@opencores.org> Sent: Friday, January 02, 2004 7:23 AM Subject: [openrisc] problem on instruction "addi"
Hi all, I have problem on using the instrucion of addi. For the instruction set, the immediate value is just 16 bit only. If some one want to add an immediate value that occupys more that 16 bit width? How they can do that? Is it the only way? They just put the immediate value into a general purpose register first, then it adds the values in two 32 bit general register? Thank you very much. Stephen _______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc



no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.