- for (;;) {
- pc = ccdbg_get_pc(dbg);
- status = ccdbg_read_status(dbg);
- printf("pc: 0x%04x. status: 0x%02x\n", pc, status);
- }
-#if 0
-/* ccdbg_execute(dbg, instructions); */
- ccdbg_write_memory(dbg, 0xf000, mem_instr, sizeof (mem_instr));
- ccdbg_read_memory(dbg, 0xf000, memory, sizeof (memory));
-#endif