RE: A82: ASM code problem


[Prev][Next][Index][Thread]

RE: A82: ASM code problem



On Tuesday, July 08, 1997 9:30 AM, Thomas J. Hruska[SMTP:thruska@tir.com] wrote:
> However, I thought you said earlier that CALL (xxxx) doesn't work.  Why
> would CALL (IX) work?

It's just because of the opcodes that the original constructors of the Z80 chip (Zilog) decided to include.  Just like there's no direct LD from one memory address to another (you've got to store to an register in between), there's no indirect call which works with the address specified by immediate data, the data must be in a register (HL/IX/IY) first...  The only thing is I don't understand why you want to call an indirect address in the first place...
	Well... see ya,
	Sam
-- 
Sam Davies <sdavies@mail.trilogy.net>