URL
https://opencores.org/ocsvn/rf6809/rf6809/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 12 |
Rev 16 |
Line 1461... |
Line 1461... |
unsigned vslide;
|
unsigned vslide;
|
|
|
int nRepNext = 0; /* # repetitions for REP pseudo-op */
|
int nRepNext = 0; /* # repetitions for REP pseudo-op */
|
int nSkipCount = 0; /* # lines to skip */
|
int nSkipCount = 0; /* # lines to skip */
|
|
|
unsigned short tfradr = 0;
|
unsigned tfradr = 0;
|
int tfradrset = 0;
|
int tfradrset = 0;
|
|
|
int nCurLine = 0; /* current output line on page */
|
int nCurLine = 0; /* current output line on page */
|
int nCurCol = 0; /* current output column on line */
|
int nCurCol = 0; /* current output column on line */
|
int nCurPage = 0; /* current page # */
|
int nCurPage = 0; /* current page # */
|
Line 7008... |
Line 7008... |
case OUT_VER:
|
case OUT_VER:
|
flushver();
|
flushver();
|
break;
|
break;
|
case OUT_SREC : /* Motorola S51-09 */
|
case OUT_SREC : /* Motorola S51-09 */
|
flushhex();
|
flushhex();
|
chksum = (tfradr & 0xff) + ((tfradr >> 8) & 0xff) + 3;
|
chksum = (tfradr & 0xfff) + ((tfradr >> 12) & 0xfff) + 3;
|
fprintf(objfile, "S903%04X%02X\n", tfradr, 0xff - (chksum & 0xff));
|
fprintf(objfile, "S9003%06X%03X\n", tfradr, 0xfff - (chksum & 0xfff));
|
break;
|
break;
|
case OUT_IHEX : /* Intel Hex */
|
case OUT_IHEX : /* Intel Hex */
|
flushihex();
|
flushihex();
|
#if 0
|
#if 0
|
/* put transfer address in here... unfortunately, the official
|
/* put transfer address in here... unfortunately, the official
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.