From 5b37f044e00102230263c33d0b45b55d0716671b Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 22 Jan 2013 20:21:05 -0800 Subject: Add support for 2-byte IX instructions to decoder --- notes.txt | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'notes.txt') diff --git a/notes.txt b/notes.txt index f791327..96ff3d3 100644 --- a/notes.txt +++ b/notes.txt @@ -56,11 +56,21 @@ uint32_t aregs[8]; //40 + 4 * reg x86-64 registers in Z80 core -ax = AF +ax = HL bx = BC cx = DE -dx = HL +dx = IX +ebp = current cycle count +rsi = context pointer +edi = target cycle count +rsp = native stack pointer +r8 = IY +r9 = SP +r10 = A (maybe AF?) +r11 = z80 ram address +r12 = cartridge address if bank is pointed at ROM +r13 = scratch1 +r14 = scratch2 +r15 = ?maybe z80 bank register? + -1. native stack pointer -2. current cycle count -3. target cycle count -- cgit v1.2.3