I'm porting some code for the Cypress FX2 (originally written for the Keil assembler) to SDCC. I'm having some trouble porting one of the assembly files.
Most of the errors report as:
"Error: <o> .org in REL area or directive / mnemonic error"
The lines where these occur are:
extrn code (ISR_Ep0pingnak, ISR_Ep1pingnak, ISR_Ep2pingnak, ISR_Ep4pingnak, ISR_Ep6pingnak, ISR_Ep8pingnak, ISR_Errorlimit, ISR_Ep2piderror, ISR_Ep4piderror, ISR_Ep6piderror, ISR_Ep8piderror, ISR_Ep2pflag)
CSEG AT 43H
USB_Int2AutoVector equ $ + 2
RSEG ?PR?USB_JUMP_TABLE?USBJT ; autovector jump table
This one generates the error:
"missing or improper operators, terminators, or delimiters"
?PR?USB_JUMP_TABLE?USBJT segment code page ; Place jump table on a page boundary
I've experimented trying to get this to assemble, but can't get it to work. I've looked for technical documentation on the assembler, but I haven't found any.
I found a Japanese website in which someone converted this file. I see what I was doing wrong and it assembles now.
Is there any chance that you could tell the rest of the world what you found and where?
Log in to post a comment.