URL
https://opencores.org/ocsvn/ssbcc/ssbcc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 5 |
Line 26... |
Line 26... |
if not ad.IsOutport(outportName):
|
if not ad.IsOutport(outportName):
|
raise asmDef.AsmException('Symbol "%s" is either not an output port or is a strobe-only outport at %s' % (outportName,argument[0]['loc']));
|
raise asmDef.AsmException('Symbol "%s" is either not an output port or is a strobe-only outport at %s' % (outportName,argument[0]['loc']));
|
ad.EmitPush(fp,ad.OutportAddress(outportName) & 0xFF,outportName);
|
ad.EmitPush(fp,ad.OutportAddress(outportName) & 0xFF,outportName);
|
ad.EmitOpcode(fp,ad.InstructionOpcode('outport'),'outport');
|
ad.EmitOpcode(fp,ad.InstructionOpcode('outport'),'outport');
|
ad.EmitOptArg(fp,argument[1]);
|
ad.EmitOptArg(fp,argument[1]);
|
|
|
ad.EmitFunction['.outport'] = emitFunction;
|
ad.EmitFunction['.outport'] = emitFunction;
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.