This document describes a student project to build a computer numerical controlled (CNC) machine. The machine uses an AT89C51 microcontroller to receive coordinates from a PC via serial communication and control a servo motor. The microcontroller implements an algorithm to move the motor to the specified coordinates, cutting shapes with straight edges. Hardware components include an H-bridge circuit to drive the stepper motor. The code is written in assembly language and implements functions to rotate the motor in different directions.