From ca89989d057a19b647514656d96d00ff23be9640 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 30 Nov 2019 19:57:46 -0500 Subject: Start work on rev2 of Sux. Added a prefix byte to tell the CPU certain information such as, how many bytes to load into the registers, or what ISA extension we want to use. I also added an assembly language monitor, so that I don't have to write stuff in machine code. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e83e8b2..df46e69 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PCC_CFLAGS= endif CFLAGS = $(PCC_CFLAGS) $(CFLAGS_EXTRA) -OBJS = opcode.o sux.o +OBJS = asmmon.o opcode.o sux.o OBJ_NAME = cisc-0.2 all : $(OBJS) $(CC) $(OBJS) $(CFLAGS) -o $(OBJ_NAME) @@ -16,6 +16,8 @@ sux.o : $(CC) sux.c -c $(CFLAGS) -o sux.o opcode.o : $(CC) opcode.c -c $(CFLAGS) -o opcode.o +asmmon.o : + $(CC) asmmon.c -c $(CFLAGS) -o asmmon.o clean : rm -f $(OBJ_NAME) $(OBJS) install : -- cgit v1.2.3-13-gbd6f