Finished? fillProcessList function for Sim02

+- simulator.c
This commit is contained in:
Charles Descamps 2024-02-21 00:12:05 -07:00
parent 3e4d6ec479
commit a946ea2c1c
3 changed files with 41 additions and 24 deletions

View file

@ -24,7 +24,7 @@ typedef struct ProcessControlBlockStruct
// this will be a mini loop within the master loop that goes until it
// hits the app end command.
// it may hold the next opcode, since you don't need to traverse backward
char *nextOpCode;
OpCodeType *nextOpCode;
// have an IO cycle count here
int ioCycles;
// have a CPU cycle count here
@ -140,7 +140,7 @@ Device Input/Device: none
Device Output/Device: none
Dependencies: ???
*/
ProcessControlBlock *fillProcessList(OpCodeType *metadataPtr);
ProcessControlBlockLL *fillProcessList(OpCodeType *metadataPtr, ProcessControlBlockLL *headPointer);
/*
Name: runSim