This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

HWI Object's Operation

Hi.

 

I want to know about operation properties of a hwi object property. already i know how STS Module is working.

and operation properties of hwi has a combobox to select proper option like STS_add(*addr) or STS_add(-*addr)....

but i don't understand what the "addr" argument is..

 

would you give me a some advice about that?

 

Regards.

  • Hi,

    The various forms of the STS_add() and STS_delta() arguments denote unary operations that can be performed on the data at the addr specified before it gets added into the STS object.

    1) (*addr) means to fetch the data at the address and use it AS IS in the STS operation.

    2) (-*addr) means to fetch the data at the address then negate it (ie two's complement) before using it in the STS operation.

    3) (|*addr|) means to fetch the data at the address and then take the absolute value of it before using it in the STS operation.

     

    Alan

  • Thank you, Alan!!

    Your explanation is easy to understand! Very Helpful.

     

    Regards,

    Zizek