view level1/cmds/load.a @ 2782:aaba193af04f lwtools-port

Updated code to use lwasm/lwlink
author Boisy Pitre <boisy.pitre@nuance.com>
date Sat, 26 Jan 2013 08:26:31 -0600
parents a51439f6b206
children
line wrap: on
line source

********************************************************************
* Load - Load a module
*
* $Id$
*
* Edt/Rev  YYYY/MM/DD  Modified by
* Comment
* ------------------------------------------------------------------
*   4      ????/??/??
* From Tandy OS-9 Level One VR 02.00.00.

         nam   Load
         ttl   Load a module

         use   defsfile.d

rev      set   $00
edition  set   4

         section data
u0000    rmb   200
         endsect

*         psect load_a,Prgrm+Objct,ReEnt+rev,edition,200,start
         section text

start    os9   F$Load   
         bcs   Exit
         lda   ,x
         cmpa  #C$CR
         bne   start
         clrb  
Exit     os9   F$Exit   

         endsect