2 ms·
> IIRC the instruction was interruptible on a byte-by-byte basis, so it's not like you ruined your interrupt response time. Yes, LDIR is basically the same as
by flohofwoe 8y ago
> IIRC the instruction was interruptible on a byte-by-byte basis, so it's not like you ruined your interrupt response time.
Yes, LDIR is basically the same as the LDI instruction with the little difference that the PC is reset to the start of the LDIR instruction until BC is 0. It's basically a microcoded LDI+conditional jump, and interrupt handling, DRAM refresh etc... happens at each step, since from the CPU's point of view, it's just executing a lot of single instructions while LDIR is running.