Pregunta de entrevista de SAP

How would you implement atomicity in assembly?