Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #5649

Re: calling tool version function outside the the normal calling

From Stephen Heumann <stephen.heumann@gmail.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: calling tool version function outside the the normal calling
Date 2020-07-17 20:07 -0500
Organization A noiseless patient Spider
Message-ID <reti1a$fe6$1@dont-email.me> (permalink)
References <b9da5922-d50f-4259-91f8-6f39dc156d44o@googlegroups.com> <b2924e46-bca6-4e01-bd01-8ce8d4732160o@googlegroups.com>

Show all headers | View raw


On 2020-07-18 00:45:46 +0000, Chris Vavruska said:
> Hi Stephen,
> 
> thanks for the code. Getting the following trying to compile.
> 
>  134         phk                 //return address
>              ^ invalid operand
>  136         sep #0x20           //address to call (minus 1)
>              ^ invalid operand

It looks like the assembler in ORCA/C isn't accepting the operand 
"ret-1" (on the lines above the ones shown).  I think it should accept 
them, but if it doesn't you could move the "ret:" label up a line (to 
the rtl), and then change both of those operands to just "ret".

-- 
Stephen Heumann

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

calling tool version function outside the the normal calling Chris Vavruska <vavruska@gmail.com> - 2020-07-17 09:41 -0700
  Re: calling tool version function outside the the normal calling Steven Hirsch <snhirsch@gmail.com> - 2020-07-17 13:34 -0400
    Re: calling tool version function outside the the normal calling Chris Vavruska <vavruska@gmail.com> - 2020-07-17 11:04 -0700
      Re: calling tool version function outside the the normal calling Steven Hirsch <snhirsch@gmail.com> - 2020-07-17 14:46 -0400
        Re: calling tool version function outside the the normal calling "vavr...@gmail.com" <vavruska@gmail.com> - 2020-07-17 12:15 -0700
  Re: calling tool version function outside the the normal calling Stephen Heumann <stephen.heumann@gmail.com> - 2020-07-17 19:08 -0500
  Re: calling tool version function outside the the normal calling Chris Vavruska <vavruska@gmail.com> - 2020-07-17 17:45 -0700
    Re: calling tool version function outside the the normal calling Stephen Heumann <stephen.heumann@gmail.com> - 2020-07-17 20:07 -0500
  Re: calling tool version function outside the the normal calling Chris Vavruska <vavruska@gmail.com> - 2020-07-17 19:16 -0700
  Re: calling tool version function outside the the normal calling kelvin@pro-kegs.uucp (Kelvin Sherlock) - 2020-07-18 02:19 -0500
    Re: calling tool version function outside the the normal calling Stephen Heumann <stephen.heumann@gmail.com> - 2020-07-17 22:14 -0500
      Re: calling tool version function outside the the normal calling Chris Vavruska <vavruska@gmail.com> - 2020-07-18 05:19 -0700

csiph-web