diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2018-06-14 21:18:14 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2018-06-14 21:18:14 +0100 |
| commit | cf0f98348c5f4df57d3adb44418cc2911e7b37b7 (patch) | |
| tree | 8ee74dfcbd402e7966f8e57440a54ba34d35d899 /src/main/kotlin/cpu/Operation.kt | |
| parent | 1d66a2c79cf98970ee80cbb1fe4262fa95c885dd (diff) | |
| download | KGB-cf0f98348c5f4df57d3adb44418cc2911e7b37b7.tar.xz KGB-cf0f98348c5f4df57d3adb44418cc2911e7b37b7.zip | |
Make a start on opcodes
Diffstat (limited to 'src/main/kotlin/cpu/Operation.kt')
| -rw-r--r-- | src/main/kotlin/cpu/Operation.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/cpu/Operation.kt b/src/main/kotlin/cpu/Operation.kt new file mode 100644 index 0000000..71c3076 --- /dev/null +++ b/src/main/kotlin/cpu/Operation.kt @@ -0,0 +1,5 @@ +package cpu + +import ram.Ram + +class Operation(val name: String, val length: Int, val cycles: Int, val command: (Registers, Ram, List<Int>) -> Unit)
\ No newline at end of file |