Getting and Setting Memory Values
TheHiWordandLoWordfunctions allow you to extract a word from a long word. TheStuffHexprocedure provides a quick way to convert hexadecimal values stored in a string into byte values in memory.To copy a range of bytes from one memory location to another, you should ordinarily use the Memory Manager's
BlockMoveprocedure, which is described in Inside Macintosh: Memory.
Subtopics
- HiWord
- LoWord
- StuffHex
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help