aboutsummaryrefslogtreecommitdiff
path: root/src/inst.h
AgeCommit message (Expand)Author
2023-10-23Added and implemented OP_JUMP_IF_*Aryadev Chavali
2023-10-23Added and implemented OP_PRINT*Aryadev Chavali
2023-10-22Added OP_PLUS_*Aryadev Chavali
2023-10-22Added and implemented OP_JUMP_(STACK|REGISTER)Aryadev Chavali
2023-10-22Added and implemented OP_JUMP_ABSAryadev Chavali
2023-10-22Added NUMBER_OF_OPCODES which aids in compilation errorsAryadev Chavali
2023-10-22Added opcode OP_DUP_*Aryadev Chavali
2023-10-22Added macros for NOOP and HALTAryadev Chavali
2023-10-22Store the result of OP_POP in the last register as a wordAryadev Chavali
2023-10-21Introduced opcodes for NOT, OR, AND, XOR and EQAryadev Chavali
2023-10-21Cleaned up and used macro magic to shorten the INST_* macrosAryadev Chavali
2023-10-21Helper functions for read/write instructions from darr or FILE*Aryadev Chavali
2023-10-21Switched from floats to halfwordAryadev Chavali
2023-10-16Added opcode_as_cstr, opcode_type_as_cstr and inst_printAryadev Chavali
2023-10-16Fixed error with OP_PUSH where bits weren't in the pattern of data_type_tAryadev Chavali
2023-10-16MOV and PUSH_*_REGISTER should only need bytes for their operandAryadev Chavali
2023-10-16Added functionality to read and write instruction bytecodeAryadev Chavali
2023-10-16Made OP_HALT the only instruction to have the top byte filledAryadev Chavali
2023-10-16MOV now uses the stack, removed register member in inst_tAryadev Chavali
2023-10-15Better checking of opcode typesAryadev Chavali
2023-10-15Remove parameter for INST_*POPAryadev Chavali
2023-10-15Set register parameter for inst_t to be a byteAryadev Chavali
2023-10-15Renamed opcodes PUSH_*REG to PUSH_*_REGISTERAryadev Chavali
2023-10-15Rearranged opcodes (switched mov with push_reg)Aryadev Chavali
2023-10-15Added instructions to push register values onto the stackAryadev Chavali
2023-10-15Added instructions for popping differing typesAryadev Chavali
2023-10-15Added opcodes for MOV and ability for instructions to hold registersAryadev Chavali
2023-10-15Make push opcodes a specific bit set and add a NOOP opcodeAryadev Chavali
2023-10-15Split off instruction structure to its own fileAryadev Chavali