OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /open8_urisc/trunk/Open8 Tools
    from Rev 178 to Rev 290
    Reverse comparison

Rev 178 → Rev 290

/open8_src/open8_as/main.c
86,12 → 86,14
i = FAILED;
 
if (i == FAILED || output_format == OUTPUT_NONE) {
printf("\nOpen8 Assembler v1.0b\n\n");
printf("\nOpen8 Assembler v1.0c (built May 3, 2021)\n\n");
printf("Based on WLA assembler by Ville Helin\n");
printf("Modified for V8 uRISC architecture by Bill Wiley\n");
printf("Modified for Open8 uRISC architecture by Seth Henry\n\n");
printf("Includes support for optional Open8 features:\n");
printf("Index Register Autoincrement and BRK_implements_WAI\n\n");
printf("1) Index Register Autoincrement using Rn++ notation\n");
printf("2) BRK_implements_WAI\n");
printf("3) PSR_S as a pseudonym for PSR_GP4\n\n");
printf("USAGE: %s -[iMqtvx]{lo} [DEFINITIONS] <ASM FILE> [OUTPUT FILE]\n", argv[0]);
printf("Commands: Options:\n");
printf("l Library file i Add list file information\n");
/open8_src/open8_as/makefile
1,5 → 1,5
CC=cc
LD=cc
CC=gcc
LD=gcc
 
CFLAGS= -c
LDFLAGS = -lm
11,7 → 11,7
 
 
all: $(OFILES) makefile
$(LD) $(OFILES) $(LDFLAGS) -o open8_as ; strip open8_as || true
$(LD) $(OFILES) $(LDFLAGS) -o open8_as
 
main.o: main.c defines.h main.h makefile
$(CC) $(WLAFLAGS) main.c
45,7 → 45,7
 
 
clean:
rm -f $(OFILES) core *~ open8_as
del $(OFILES) core *~ open8_as
 
install:
make ; cp open8_as /usr/local/bin
/open8_src/open8_as/opcode_table_generator/gen.exe Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
open8_src/open8_as/opcode_table_generator/gen.exe Property changes : Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: open8_src/open8_as/opcode_table_generator/makefile =================================================================== --- open8_src/open8_as/opcode_table_generator/makefile (revision 178) +++ open8_src/open8_as/opcode_table_generator/makefile (revision 290) @@ -1,6 +1,6 @@ -CC=cc -LD=cc +CC=gcc +LD=gcc WLA_TARGET?=HUC6280 WLA_QUIET?=0 @@ -12,7 +12,7 @@ all: $(OFILES) makefile - $(LD) $(LDFLAGS) $(OFILES) -o gen ; strip gen + $(LD) $(LDFLAGS) $(OFILES) -o gen main.o: main.c makefile $(CC) $(CFLAGS) main.c
/open8_src/open8_as/opcodes_v8urisc.c
34,6 → 34,7
{ "BNGP7 x", 0x97, 1, 0 },
{ "BNI x", 0x93, 1, 0 },
{ "BNN x", 0x92, 1, 0 },
{ "BNS x", 0x94, 1, 0 },
{ "BNZ x", 0x90, 1, 0 },
 
{ "BRC x", 0x99, 1, 0 },
44,6 → 45,7
{ "BRI x", 0x9b, 1, 0 },
{ "BRK", 0xbb, 0, 0 },
{ "BRN x", 0x9a, 1, 0 },
{ "BRS x", 0x9c, 1, 0 },
{ "BRZ x", 0x98, 1, 0 },
 
{ "BTT 0", 0x60, 0, 0 },
62,6 → 64,7
{ "CLP PSR_GP7", 0x6f, 0, 0 },
{ "CLP PSR_I", 0x6b, 0, 0 },
{ "CLP PSR_N", 0x6a, 0, 0 },
{ "CLP PSR_S", 0x6c, 0, 0 },
{ "CLP PSR_Z", 0x68, 0, 0 },
 
{ "CLR R0", 0x28, 0, 0 },
264,6 → 267,7
{ "STP PSR_GP7", 0x5f, 0, 0 },
{ "STP PSR_I", 0x5b, 0, 0 },
{ "STP PSR_N", 0x5a, 0, 0 },
{ "STP PSR_S", 0x5c, 0, 0 },
{ "STP PSR_Z", 0x58, 0, 0 },
 
{ "STX R0", 0xd0, 0, 0 },
/open8_src/open8_as/opcodes_v8urisc_tables.c
7,13 → 7,13
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 24, 25, 17, 16, 0, 0, 1,
0, 24, 27, 18, 16, 0, 0, 1,
0, 16, 2, 0, 40, 8, 1, 8,
16, 0, 19, 49, 16, 8, 0, 1,
16, 0, 19, 50, 16, 8, 0, 1,
8, 0, 0, 0, 0, 0, 0, 0,
0, 24, 25, 17, 16, 0, 0, 1,
0, 24, 27, 18, 16, 0, 0, 1,
0, 16, 2, 0, 40, 8, 1, 8,
16, 0, 19, 49, 16, 8, 0, 1,
16, 0, 19, 50, 16, 8, 0, 1,
8, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
40,14 → 40,14
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 24, 49, 66, 0, 0, 82,
0, 83, 99, 0, 101, 141, 149, 150,
158, 0, 174, 193, 242, 258, 0, 266,
267, 0, 0, 0, 0, 0, 0, 0,
0, 0, 24, 49, 66, 0, 0, 82,
0, 83, 99, 0, 101, 141, 149, 150,
158, 0, 174, 193, 242, 258, 0, 266,
267, 0, 0, 0, 0, 0, 0, 0,
0, 0, 24, 51, 69, 0, 0, 85,
0, 86, 102, 0, 104, 144, 152, 153,
161, 0, 177, 196, 246, 262, 0, 270,
271, 0, 0, 0, 0, 0, 0, 0,
0, 0, 24, 51, 69, 0, 0, 85,
0, 86, 102, 0, 104, 144, 152, 153,
161, 0, 177, 196, 246, 262, 0, 270,
271, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
/open8_src/open8_as/open8_as.exe Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
open8_src/open8_as/open8_as.exe Property changes : Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: open8_src/open8_link/main.c =================================================================== --- open8_src/open8_link/main.c (revision 178) +++ open8_src/open8_link/main.c (revision 290) @@ -72,7 +72,7 @@ i = FAILED; if (i == FAILED) { - printf("\nOpen8 Linker v0.9\n\n"); + printf("\nOpen8 Linker v1.0 (built May 3, 2021)\n\n"); printf("Based on WLA assembler by Ville Helin in 1998-2004\n"); printf("Modified for V8 uRISC architecture by Bill Wiley\n"); printf("Modified for Open8 uRISC architecture by Seth Henry\n\n");
/open8_src/open8_link/makefile
1,6 → 1,6
 
CC=cc
LD=cc
CC=gcc
LD=gcc
 
CFLAGS= -c
LDFLAGS =
11,7 → 11,7
 
 
all: $(OFILES) makefile
$(LD) $(LDFLAGS) $(OFILES) -o open8_link ; strip open8_link || true
$(LD) $(LDFLAGS) $(OFILES) -o open8_link
 
main.o: main.c main.h defines.h
$(CC) $(CFLAGS) main.c
48,7 → 48,7
 
 
clean:
rm -f $(OFILES) core *~ open8_link
del $(OFILES) core *~ open8_link
 
install:
make ; cp open8_link /usr/local/bin
/open8_src/open8_link/open8_link.exe Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
open8_src/open8_link/open8_link.exe Property changes : Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.