Zuckerberg says it's a 'sad day' as tech execs slam Trump for ending DACA

The Trump administration announced on Monday it would rescind the Deferred Action for Childhood Arrivals program.

Facebook CEO Mark Zuckerberg is one of several technology CEOs to condemn President Trump's decision to end a program that protects undocumented immigrants brought to the U.S. as children.

The Trump administration announced on Tuesday it would rescind the Deferred Action for Childhood Arrivals program, or DACA, which started under President Obama in 2012.

Zuckerberg said it was "a sad day" for the country.

"The decision to end DACA is not just wrong," Zuckerberg wrote in a Facebook post. "It is particularly cruel to offer young people the American Dream, encourage them to come out of the shadows and trust our government, and then punish them for it."

IBM has already said it stands by "dreamers" -- those protected by the program. Box CEO Aaron Levie called for Congressional action, as did Google CEO Sundar Pichai .

Other technology CEOs are likely to do "everything in their power to protect their employees" from the repeal of a law protecting certain immigrants, technology investor Roger McNamee told CNBC's " Squawk Alley " on Tuesday.

"I don't know the answer," McNamee said. "Our entire economy is based on having lots of different kinds of people in it."

Trump's decision comes with a six-month delay, giving Congress an opportunity to pass legislation protecting the country's 800,000 dreamers.