Hey, Stuart started it, *he's* the sick one. Here's the A86 code for DOS: lea dx,hello_message mov ah,09 int 021 int 020 hello_message db 'Hello, world!',0d,0a,'$' Assembles to 25 bytes as shown (hello.com). Eric Isaacson is at least a demigod. P.S. like how I saved 4 bytes by using int 20h? Woohoo! I'll bet that C++ abomination weighs in at half a meg! :-D P.P.S. If you _really_ wanted to run it on a linux box you could build it into your boot sector and use a BIOS call instead of int21. See John Fine's NASM code called SMBMBR03 if yer that far gone. Oh yeah, howdy and welcome to the person who started this thread. Steve Smith, "dead horses beaten while you wait" Stuart Foster wrote: > > And for the really sick.. > > dosseg > .model small > .stack 100h > > .data > hello_message db 'Hello, World!',0dh,0ah,'$' > > .code > main proc > mov ax,@data > mov ds,ax > > mov ah,9 > mov dx,offset hello_message > int 21h > > mov ax,4C00h > int 21h > main endp > end main > > -----Original Message----- > From: Lucas Vogel [mailto:lvogel@exponent.com] > Sent: Friday, June 30, 2000 10:53 AM > To: 'plug-discuss@lists.PLUG.phoenix.az.us' > Subject: RE: printf (' hello world! '); > > I think my preference is: > > #include > > cout << "Hello world!\n" ; > > > -----Original Message----- > > From: Kevin Buettner [mailto:kev@primenet.com] > > Sent: Friday, June 30, 2000 10:46 AM > > To: plug-discuss@lists.PLUG.phoenix.az.us > > Subject: Re: printf (' hello world! '); > > > > > > On Jun 30, 1:07pm, Furmanek, Greg wrote: > > > > > Actually it supposed to be: > > > char *messsage = "hellow world!"; > > > printf("%s\n", message); > > > > Or simply > > > > printf("Hello world!\n"); > > > > _______________________________________________ > > Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > > > _______________________________________________ > Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > _______________________________________________ > Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- Carpe cerevisiae From " linuxnet"@home.com Fri Jun 30 08:17:13 2000 From: " linuxnet"@home.com (colin rasor) Date: Fri, 30 Jun 2000 01:17:13 -0700 Subject: sheilded Cat-5 References: <011901bfe24e$97061d30$0178a8c0@desertraven.com> Message-ID: <395C5789.26A195D3@home.com> This is a multi-part message in MIME format. --------------B2EB82DC80A07365739C0DD5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mike Sheldon wrote: > >>When I say twisted, the cables are definently twisted around each other. > > Ahh, you're talking about stranded wire vs. solid core. Either one can be > certified CAT-5, but be sure that the connectors are for stranded wire. Most > are for solid wire, and there is a difference. > > I've still never seen shielded CAT-5 before. I'm not saying it doesn't > exist, but be sure that the wire actually is CAT-5, and not CAT-3 or CAT-4. > > Michael J. Sheldon > Internet Applications Developer > Phone: 480.699.1084 > http://www.desertraven.com/ > PGP Key Available on Request > -----Original Message----- > From: plug-discuss-admin@lists.PLUG.phoenix.az.us > [mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of colin rasor > Sent: Wednesday, June 28, 2000 20:00 > To: plug-discuss@lists.PLUG.phoenix.az.us > Subject: Re: sheilded Cat-5 > > Thanks Mike > The wire is going in a machine shop. > Mike I might be a little confused, (please correct me if I am wrong.) When > I say twisted, the cables are definently twisted around each other. The > copper wire inside is not twisted and is solid, is this Cat4? Also the Wire > that I have seen that claims to be shielded is coated in a foil type > substance with a bare wire running on the outside of it. Of course this is > all incased in you typical blue (or color of choice). > The reason we worry about using "shielded" is that that we don't want to be > losing any data do to RF while it is running through the shop. > Conduit would be about the same price to run with labor. As the so called > shielded wire. > Thank you again for you input. > Colin Ansel Rasor > > Mike Sheldon wrote: > Cat-5 isn't Cat-5 unless it's twisted, the twists are what prevents > interference between the pairs, as well as from outside sources. > As far as shielded Cat-5? I've never seen such a thing. There was a shielded > twisted pair that IBM used for token-ring, but that's Cat-4. Cat-4 is NOT > rated for 100mbps > Shielded Pros: Less outside interference in extremely noisy (electrical) > areas. > Unshielded Pros: 100mbps, much cheaper, resistant to electrical noise in all > but the worst environments when properly installed. > Use Cat-5 unless you're wiring a machine shop. If you're wiring a machine > shop, run Cat-5 in metal conduit. > Michael J. Sheldon > Internet Applications Developer > Phone: 480.699.1084 > http://www.desertraven.com/ > PGP Key Available on Request > -----Original Message----- > From: plug-discuss-admin@lists.PLUG.phoenix.az.us > [mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of colin > rasor > Sent: Wednesday, June 28, 2000 17:03 > To: plug-discuss@lists.PLUG.phoenix.az.us > Subject: sheilded Cat-5 > Hello everybody, > I was wondering the best place to buy shielded cat5 non twisted. I am > looking for around 2000ft. > What are the pros to using shielded compared to non shielded? > Colin Ansel Rasor > _______________________________________________ > Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discussthanks > > _______________________________________________ > Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss Thank you Mike you answered my question completly! Colin Ansel Rasor --------------B2EB82DC80A07365739C0DD5 Content-Type: text/x-vcard; charset=us-ascii; name=" linuxnet.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for colin rasor Content-Disposition: attachment; filename=" linuxnet.vcf" begin:vcard n:Rasor;Colin tel;work:6023040299 x-mozilla-html:FALSE url:http://www.specializedmillwork.com org:http://www.specializedmillwork.com;IS version:2.1 email;internet:linuxnet@home.com adr;quoted-printable:;; 1918 S. VanBurean st. =0D=0A=0D=0A=0D=0A;Phoenix;AZ;85010;United States of America x-mozilla-cpt:;2 fn:Colin Rasor end:vcard --------------B2EB82DC80A07365739C0DD5--