created sicxe emulator project
This commit is contained in:
parent
cb38efe586
commit
3332b2971b
18 changed files with 1051 additions and 0 deletions
20
simulator_SIC_XE/include/instructions.h
Normal file
20
simulator_SIC_XE/include/instructions.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef INSTRUCTIONS_H
|
||||
#define INSTRUCTIONS_H
|
||||
|
||||
#include "opcode.h"
|
||||
|
||||
// Type 2 instruction handlers
|
||||
void addr_handler(Machine& m, int r1, int r2);
|
||||
void clear_handler(Machine& m, int r, int unused);
|
||||
void divr_handler(Machine& m, int r1, int r2);
|
||||
void mulr_handler(Machine& m, int r1, int r2);
|
||||
void rmo_handler(Machine& m, int r1, int r2);
|
||||
void shiftl_handler(Machine& m, int r1, int n);
|
||||
void shiftr_handler(Machine& m, int r1, int n);
|
||||
void subr_handler(Machine& m, int r1, int r2);
|
||||
void svc_handler(Machine& m, int n, int unused);
|
||||
void tixr_handler(Machine& m, int r1, int unused);
|
||||
|
||||
|
||||
|
||||
#endif // INSTRUCTIONS_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue