comparison notes.txt @ 203:0ae589d4c3f9

Add support for 2-byte IX instructions to decoder
author Mike Pavone <pavone@retrodev.com>
date Tue, 22 Jan 2013 20:21:05 -0800
parents 3e7bfde7606e
children
comparison
equal deleted inserted replaced
202:693ad04b965e 203:0ae589d4c3f9
54 uint32_t aregs[8]; //40 + 4 * reg 54 uint32_t aregs[8]; //40 + 4 * reg
55 ..... 55 .....
56 56
57 x86-64 registers in Z80 core 57 x86-64 registers in Z80 core
58 58
59 ax = AF 59 ax = HL
60 bx = BC 60 bx = BC
61 cx = DE 61 cx = DE
62 dx = HL 62 dx = IX
63 ebp = current cycle count
64 rsi = context pointer
65 edi = target cycle count
66 rsp = native stack pointer
67 r8 = IY
68 r9 = SP
69 r10 = A (maybe AF?)
70 r11 = z80 ram address
71 r12 = cartridge address if bank is pointed at ROM
72 r13 = scratch1
73 r14 = scratch2
74 r15 = ?maybe z80 bank register?
63 75
64 1. native stack pointer 76
65 2. current cycle count
66 3. target cycle count