Answer when your name is called.

Literal

Name [subject-が] called [conditional-たら] reply [object-を] do.

しろ is the plain imperative of する — even gruffer than なさい. The whole sentence is a barked order, likely from a teacher or drill sergeant. 返事をする ('to give a reply') is the standard collocation.