From c4c137af4e6034f8f1e81598f12deb1cfe2ab466 Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Tue, 29 Apr 2014 20:25:12 -0700 Subject: [PATCH] Update README.md --- PLASMA/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLASMA/README.md b/PLASMA/README.md index a900ec56..bc16a3ac 100644 --- a/PLASMA/README.md +++ b/PLASMA/README.md @@ -342,12 +342,12 @@ cout(char), prstr(string), prstrz(stringz) are handy utility routines for printi prstr(@okstr) ``` -memset(val16, addr, len) will fill memory with a 16 bit value. memcpy(srcaddr, dstaddr, len) will copy memory from one address to another, taking care to copy in the proper direction. +memset(val16, addr, len) will fill memory with a 16 bit value. memcpy(dstaddr, srcaddr, len) will copy memory from one address to another, taking care to copy in the proper direction. ``` byte nullstr[] = "" memset(@nullstr, strlinbuf, maxfill * 2) ; fill line buff with pointer to null string - memcpy(strptr + ofst + 1, scrnptr, numchars) + memcpy(scrnptr, strptr + ofst + 1, numchars) ``` ##Implementation Details