24-bit AD sampling subroutine based on C8051F350