LoginSignup
0
0

More than 5 years have passed since last update.

ブロック転送命令でのメモリクリア

Posted at

ブロック転送命令を使って、メモリのクリアをします。
この例では、8000番地から、2000hのメモリ空間をやってます。

  ld  hl,8000h
  ld  de,8001h
  ld  bc,2000h-1
  xor a
  ld  (hl),a
  ldir
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0