I know under Linux, R2 would have the argument count, and R3 would have the 
address of an array of the addresses of null terminated strings consisting of 
each argument. In the case below, R2 would equal three, and R3 would point to 
an array like this:

[address +0]->myroutine[null]
[address+4]->arg1[null]
[address+8]->arg2[null]
[address+12]->[null]

Not sure if it works exactly the same under USS, but I think so. Test it to be 
sure!  Hope that helps a bit...

Paul

Sent from my iPad

On Mar 23, 2012, at 1:59 AM, Scott Bennett <[email protected]> wrote:

> I am trying to find documentation or examples that show how I can utilize
> (I assume) register 1 to access the value of the arguments from a caller to
> my assembler routine executed under USS.
>
> For example, if my routine was called from USS as:
>
> $ myroutine arg1 arg2
>
> How can I get the value arg1 and arg2?
>
> Thanks!

Reply via email to