[comp.sys.amiga] CLI/WB and ASSEMBLER

d87-khd@sm.luth.se (Karl-Gunnar Hultland) (11/02/89)

I'm trying to write a small utility using DEVPAC 2 and
I have some problems getting parameters from CLI into my
program.
What I need to know is
1) Which registers are set to the parameters ( if any at all)
2) What are the differences between CLI and WB from the assembly
   language programmers view.

					Karl

<$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$>
< Karl 'Kalle' Hultland    <$>                                               >
< Dept. of Comp. sci.      <$> d87-khd@sm.luth.se |                          >
< University of Lulea      <$> {uunet,mcvax}!sunic.se!sm.luth.se!d87-khd     >
< Sweden                   <$>                                               >
<$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$>
<      If two people agree on EVERYTHING , one of them is OBSOLETE!!         >
<$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$><$>

IMS103@PSUVM.BITNET (11/03/89)

In message <629@tau.sm.luth.se>d87-khd@sm.luth.se (Karl-Gunnar Hultland) writes

What I need to know is
1) Which registers are set to the parameters ( if any at all)

After starting a program from CLI the A0 regester contains the address of the
text after the program name, and D0 contains the length of the text.
Hope this helps.

IMS103@PSUVM.BITNET Ian Matthew Smith