diff --git a/src/execute.c b/src/execute.c index d0c2c5e..6622812 100644 --- a/src/execute.c +++ b/src/execute.c @@ -3,20 +3,25 @@ void execute(Machine *state, a64inst_instruction *inst) { switch (inst->type) { + + // Halt the program case a64inst_HALT: - // Halt the program break; + + // Execute a data processing immediate instruction case a64inst_DPIMMEDIATE: - // Execute a data processing immediate instruction break; + + // Execute a branch instruction case a64inst_BRANCH: - // Execute a branch instruction break; + + // Execute a data processing register instruction case a64inst_DPREGISTER: - // Execute a data processing register instruction break; + + // Unknown instruction default: - // Unknown instruction break; }