Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re^3: Perl Operating System

by tachyon (Chancellor)
on Mar 28, 2004 at 06:33 UTC ( [id://340355]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl Operating System
in thread Perl Operating System

Ahhhhh!!! Assembler GOLF! 21 bytes.... OK so I admit I did not try to make assembler look good. I have always liked the thought that C is a language with all the power of assembler, but with all the user friendliness of ..... assembler.

jmp start msg db "ASM?$" start: mov ah,09 mv dx,offset msg int 21h mov ah,4ch mov al,00 int 21h

cheers

tachyon

Replies are listed 'Best First'.
Re^5: Perl Operating System
by Aristotle (Chancellor) on Mar 29, 2004 at 07:04 UTC
    Oh my, it has been so many years…
    mov ah, 09h mov dx, offset msg int 21h ret msg db "ASM?$"
    (The ret is a CP/M remnant. There's an int 20h at the top of the program segment prefix and DOS puts a 0000 word on the stack before it passes control to the program. We are now deep in the dark ages of microcomputer "operating systems".)

    Makeshifts last the longest.

      When VB came out I lamented ignoring my once well honed BASIC skills. With Delphi I almost convinced myself that Pascal was not really as bad as I remembered. Stirring up Abigail-II has been the only *honest* use of very rusty ASM skills in nearly 20 years :-)

      cheers

      tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://340355]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2025-06-21 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.