Embedded Systems
smalltlk.asc
Associated article: Smalltalk and Embedded Systems
Tags: Tools Embedded Systems
_SMALLTALK AND EMBEDDED SYSTEMS_
by John Duimovich and Mike Milinkovich
Example 1
(a)
checkSum
"Answer a twos complement checksum of the receiver."
<primitive: checkSum>
^ self primitiveFailed
(b)
#include "userprim.h"
DEFINE_USER_PRIMITIVE( checkSum )
{
char *...


