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 20... |
Line 20... |
if not ad.IsInport(argument[0]['value']):
|
if not ad.IsInport(argument[0]['value']):
|
raise asmDef.AsmException('Symbol "%s is not an input port at %s' % (argument[0]['value'],argument[0]['loc']));
|
raise asmDef.AsmException('Symbol "%s is not an input port at %s' % (argument[0]['value'],argument[0]['loc']));
|
name = argument[0]['value'];
|
name = argument[0]['value'];
|
ad.EmitPush(fp,ad.InportAddress(name) & 0xFF,name);
|
ad.EmitPush(fp,ad.InportAddress(name) & 0xFF,name);
|
ad.EmitOpcode(fp,ad.InstructionOpcode('inport'),'inport');
|
ad.EmitOpcode(fp,ad.InstructionOpcode('inport'),'inport');
|
|
|
ad.EmitFunction['.inport'] = emitFunction;
|
ad.EmitFunction['.inport'] = 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.