mirror of
https://codeberg.org/sethm/symon.git
synced 2026-11-07 19:12:23 +00:00
Add disassembled instructions to breakpoints
This commit is contained in:
1 parent
6b5976be8f
commit
634ea933f1
12 files changed
+460
-410
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package com.loomcom.symon;
|
||||
|
||||
import com.loomcom.symon.util.Utils;
|
||||
import junit.framework.*;
|
||||
|
||||
import com.loomcom.symon.devices.*;
|
||||
@@ -537,11 +538,11 @@ public class CpuTest extends TestCase {
|
||||
|
||||
|
||||
public void testAddress() {
|
||||
assertEquals(0xf1ea, cpu.address(0xea, 0xf1));
|
||||
assertEquals(0x00ea, cpu.address(0xea, 0x00));
|
||||
assertEquals(0xf100, cpu.address(0x00, 0xf1));
|
||||
assertEquals(0x1234, cpu.address(0x34, 0x12));
|
||||
assertEquals(0xffff, cpu.address(0xff, 0xff));
|
||||
assertEquals(0xf1ea, Utils.address(0xea, 0xf1));
|
||||
assertEquals(0x00ea, Utils.address(0xea, 0x00));
|
||||
assertEquals(0xf100, Utils.address(0x00, 0xf1));
|
||||
assertEquals(0x1234, Utils.address(0x34, 0x12));
|
||||
assertEquals(0xffff, Utils.address(0xff, 0xff));
|
||||
}
|
||||
|
||||
public void testZpxAddress() {
|
||||
|
||||
Reference in new issue
Block a user