view 3rdparty/p2mods/tsayhi.asm @ 2713:37d3ee1458b6 lwtools-port

Fixed stupid mistake in branch table
author Boisy Pitre <boisy.pitre@nuance.com>
date Wed, 25 Jul 2012 11:25:34 -0500
parents b8c7b7fbf3c9
children
line wrap: on
line source

         ifp1
         use   defsfile
         endc

Type     set   Prgrm+Objct
Revs     set   ReEnt+1
edition  set   $01

         mod   OS9End,OS9Name,Type,Revs,start,256

OS9Name  fcs   "TSayHi"
         fcb   edition

F$SAYHI  equ   $25

* routine cold
start    equ   *
         lda   ,x
         cmpa  #$0D
         bne   SayHi
         ldx   #$0000
SayHi    os9   F$SAYHI
         bcs   error
         clrb
error    os9   F$Exit

         emod

OS9End   equ   *
         end