nextreg access

Do you live and breathe hexadecimal? Do you like speaking to hardware directly?

Moderator: Programming Moderators

Z80Man
Posts: 21
Joined: Wed Jul 08, 2020 5:53 am

Re: nextreg access

Postby Z80Man » Fri Jul 10, 2020 6:27 am

Just to add my two pence, the 16 bit complementary register to A is the flag register F... that's why there's no such 16 bits operation involving A anyway, since the MSB would send quite an unpredictable value to the address bus during an I/O operation and it could potentially lead to catastrophic results.

Hence the reason why Zilog limited the use of 16 bits addressing to the contents of regular 16 bits registers.

It still leaves a lot of possibilities anyway, as even the historical undocumented op codes allowed to divert the regular use of HL to IX and IY in many cases by adding a second prefix, even though not mentionned in the original manufacturer's documentation...


Who is online

Users browsing this forum: No registered users and 4 guests