> > OK, the pop/push hl allowed the call to work... now what if i want to use hl > within the call? > > pop hl > pop bc > inc b > push bc > push hl > --> I need to change the value of a user defined variable which is 16bit, so > I need to use hl as far as i know, any other ways? > > If you need to use HL, pop and push DE instead of HL in the above code and you can safely use HL.