URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 221 |
Rev 262 |
Line 590... |
Line 590... |
char *args = opcode->args;
|
char *args = opcode->args;
|
int i, type;
|
int i, type;
|
|
|
i = 0;
|
i = 0;
|
type = 0;
|
type = 0;
|
|
/* In case we don't have any parameters, we add dummy read from r0. */
|
|
if (!(*args)) {
|
|
cur->type = type | OPTYPE_REG | OPTYPE_OP | OPTYPE_LAST;
|
|
cur->data = 0;
|
|
debug("#%08X %08X\n", cur->type, cur->data);
|
|
cur++;
|
|
return cur;
|
|
}
|
|
|
while (*args != '\0')
|
while (*args != '\0')
|
{
|
{
|
if (*args == 'r')
|
if (*args == 'r')
|
{
|
{
|
args++;
|
args++;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.