A83: rep stosw


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

A83: rep stosw



Is there an instruction corresponding to "rep stosw" (8086 processor) on the 
z80?

In other words, is there a shorter/faster version to 

  mov de,bytes_to_clear
loop:
  ld (hl),a
  inc hl
  dec de
  dj nz, loop

/ David