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


Groups > comp.sys.apple2.programmer > #4102 > unrolled thread

ORCA/M Macros and Indexed addressing

Started byPaul MacMillan <paul.s.macmillan@gmail.com>
First post2018-01-09 08:35 -0800
Last post2018-01-09 16:07 -0800
Articles 2 — 1 participant

Back to article view | Back to comp.sys.apple2.programmer


Contents

  ORCA/M Macros and Indexed addressing Paul MacMillan <paul.s.macmillan@gmail.com> - 2018-01-09 08:35 -0800
    Re: ORCA/M Macros and Indexed addressing Paul MacMillan <paul.s.macmillan@gmail.com> - 2018-01-09 16:07 -0800

#4102 — ORCA/M Macros and Indexed addressing

FromPaul MacMillan <paul.s.macmillan@gmail.com>
Date2018-01-09 08:35 -0800
SubjectORCA/M Macros and Indexed addressing
Message-ID<49446fee-bf27-45e5-94bc-5afee8273c03@googlegroups.com>
Hi all,

I am using ORCA/M (8-bit) and am encountering a seemingly simple problem...
How to pass parameters that are indexed... the index needs a comma but ORCA uses commas to separate arguments to macro calls....

So if I have a macro that takes e.g. ADD1 NUM1, NUM2 how would I pass TABLE,X as the first argument? 

Merlin seems to avoid this by using semi-colon as argument separator.

I'm sure I am missing something obvious here.... I tried using named parameters but it still uses the comma....

Thanks,
Paul

[toc] | [next] | [standalone]


#4103

FromPaul MacMillan <paul.s.macmillan@gmail.com>
Date2018-01-09 16:07 -0800
Message-ID<a3c98e18-a856-4e9a-8df8-eac3b87f6213@googlegroups.com>
In reply to#4102
OK! There was something obvious to do, wrap the parameter in single quotes!!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.apple2.programmer


csiph-web