Reg. GPIO Subscription

can anyone give a sample of how to configure the GPIO pins 1 and 2 as output mode and GPIO pin 33 as input using the adl commands. And, more importantly how to use the adl_iowrite() and adl_ioread()? im confused about the parameters used in these functions. Sample code is a welcome.
Expecting a reply at the earliest.

S. Vanee