- Continued refactoring of address decoding.
- Device read and write may now throw MemoryAccessException, and appropriate throws clauses have been added throughout the code.
This commit is contained in:
1 parent
a01090a16e
commit
ac88786df7
21 files changed
+465
-446
No files matched your search
@@ -1,7 +1,8 @@
|
||||
package com.loomcom.symon;
|
||||
|
||||
import com.loomcom.symon.devices.Memory;
|
||||
import com.loomcom.symon.exceptions.MemoryRangeException;
|
||||
import com.loomcom.symon.exceptions.MemoryAccessException;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
public class CpuIndirectModeTest extends TestCase {
|
||||
@@ -40,7 +41,7 @@ public class CpuIndirectModeTest extends TestCase {
|
||||
|
||||
/* JMP - Jump - $6c */
|
||||
|
||||
public void test_JMP() {
|
||||
public void test_JMP() throws MemoryAccessException {
|
||||
bus.write(0x3400, 0x00);
|
||||
bus.write(0x3401, 0x54);
|
||||
bus.loadProgram(0x6c, 0x00, 0x34);
|
||||
|
||||
Reference in new issue
Block a user