OS/9

OS/9
          nam          HelloWorld
          ttl          OS-9/68000
                
          use          defsfile
                
Edition   equ          1
Typ_Lan   equ          (Prgrm<<8)+Object
Atr_Rev   equ          (ReEnt<<8)+0
          psect        nam,Typ_Lan,Atr_Rev,Edition,512,hello
StdOut    equ          1
                
Str       dc.b         "Hello World"
Len       equ          *-Str
                
hello:    moveq        #StdOut,d0
          lea          Str(pc),a0
          move.l       #Len,d1
          os9          I$WriteLn
          moveq        #0,d1
          os9          F$Exit
                
          ends
Commentaires
- OS/9 est un système pour les applications en temps réel.
- Ce Helloworld est donc spécifique à ce système d'exploitation.


Retour page principale


Valid CSS!  -  Valid XHTML 1.0 Transitional