TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Paul Edwards
from: rowan_crowe
date: 1996-01-18 04:14:52
subject: memcpy

Answering msg from Paul Edwards to rowan_crowe,
on Sunday January 14 1996 at 08:54

 r>> Hi Paul, a couple of optimizations and suggestions.

 PE> Thanks, I've made those mods.  I presume the code was PD.

My few modifications of your code? Certainly. Basically anything that I
post (that I created) is released to the public domain.

 PE> That code that that guy on the internet posted was pretty
 PE> tricky, eh?  I might do something about using that when I
 PE> figure out how I'm going to incorporate assembler into C.
 PE> I'll have to write my own version though, since he didn't
 PE> put a PD notice on his.  BFN.  Paul.

Depends on how your addresses will be aligned. For a compiler targetted at
386+ processors it wouldn't be uncommon to align everything to dwords or at
least words, unless a #pragma directive specifically forces no alignment
(say on strucs).

Quick terminology:

dword   4 bytes  (you call this a "fullword"?)
word    2 bytes  (and this a "halfword"?)

---
* Origin: Jelly-Bean software development, Melbourne AUST. (3:635/727.1)
SEEN-BY: 50/99 632/103 348 998 633/371 634/384 635/402 503 544 727 638/102
SEEN-BY: 639/252 640/230 690/718 711/401 410 413 430 808 809 934 713/888
SEEN-BY: 800/1 7877/2809
@PATH: 635/727 632/348 635/503 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.