thank you for your reply melone,
but i still very blur by what kind of information is stored inside the P1 and P2 in the below program code....
.equ wflg,00h ;bit flag used to notify main program
.org 0000h
mov sp,#30h ; set stack above bit addreeable area
sjmp over...