and again the subject
ZXNet echo conference «zxnet.pc»
From Stanislav Lomakin → To All 21 March 2006
Hello, boo_boo
Vladimir Kladov, it looks like we have blown a mountain out of a molehill :)
I looked at the results of my last test from Wlodek...
It seems to me that with CP* everything is as simple as an orange! namely:
CPD: memptr=memptr-1
CPI: memptr=memptr+1
CPIR: memptr=instruction_address+2 or as CPI if BC=1 or A=(HL)
or perhaps something like memptr=(instruction_address+1)+(number_of_PC_changes)
CPDR: memptr=instruction_address or as CPD if BC=1 or A=(HL)
very similar!!!! only CPIR needs to be checked (for addresses like F7FD, F7FC, F7F1
and different BC)
and such strange results for pairs were due to the fact that 1) the first team of the pair
also changes BC 2) in previous tests, when memptr was “reset”, it was at its
case 0x0001 :rolleyes: