If you are covered by the Employment Act (meaning your salary is not more than RM1500) then read the following section of the Act:
"12. Notice of termination of contract.
(1) Either party to a contract of service may at any time give to the other party notice of his intention to terminate such contract of service.
(2) The length of such notice shall be the same for both employer and employee and shall be determined by a provision made in writing for such notice in the term of the contract of service, or, in the absence of such provision in writing, shall not be less than:
(a) four weeks' notice if the employee has been so employed for less than two years on the date on which the notice is given;
(b) six weeks' notice if he has been so employed for two years or more but less than five years on such date;
(c ) eight weeks' notice if the has been so employed for five years or more on such date;
provided that this section shall not be taken to prevent either party from waiving his right to a notice under this subsection. "