#include "./instruction.h" r16_int GetArgVal(ArgumentInfo argInfo, r16_int arg) { } void ExecuteInstruction(CpuInstructions instruction, ArgumentInfo arg1Info, ArgumentInfo arg2Info, r16_int arg1, r16_int arg2) { switch (instruction) { case HLT: printf("program halted\n"); exit(0); case ADD: case SUB: case MUL: case DIV: case LBS: case RBS: case BAN: case BOR: case BXO: case BNO: case PUS: case POP: case JMP: case JEQ: case JNZ: case CAL: case RET: case REG: case INT: case INP: case OUT: case DIN: case DOT: case MOV: } }