đHca.geocities.com/JLABELLE@rogers.com/nsasm/docs/x44.htmlca.geocities.com/JLABELLE_rogers.com/nsasm/docs/x44.htmldelayedxHnÕJ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙ČpIOKtext/html@œ´'I˙˙˙˙b‰.HTue, 07 Dec 2004 00:51:04 GMTSMozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)en, *HnÕJIInstallation

Installation

First it's a good idea to check and make sure you are using the latest and greatest NSASM version. The latest version is downloadable from the Ammunerve NSASM web page. The lastest version will have the most up to date documentation and support for any new devices.

NSASM is a package of command-line tools with thousands of possible combinations of control and configuration options. But don't worry, most of the time the command line will only have one or two options and it's pretty easy to quickly look up an option and modify your command line if necessary.

The default location for all the COP8 stuff is c:\cop8 so NSASM is usually in c:\cop8\nsasm.

sub do_nothing_useful {
    my($a, $b, $c);

    $a = new A;                                            (1)
    
    $a->does_nothing_either();

    $b = new B;                                            (1)

    $c = "frog";

    return ($a, $c);                                       (2)                                       (3)
}
(1)
These are calls to the constructor new in the object classes.
(2)
This function returns a two-element list.
(3)
The destructor (DESTROY) for the object $b will be called automatically for this object since there can be no other references to it outside this function.