Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
itIsBrando edited this page Jun 5, 2021 · 1 revision

memory.asm contains routines for block memory management.

List of routines:

memcpy

  • Block copies data from HL to DE

Parameters: HL - source destination, DE - destination pointer, BC - size of data in bytes

Destroys: All

memset

  • Fills a block of data with the value in A

Parameters: A - byte, HL - designation pointer, BC - size of data in bytes

Destroys: AF, BC, D, HL

Clone this wiki locally