[batch] added assembly directive, fixed main