Get more familiar with the instruction set of 8051.
The pdf of the above lab sheet is available here.