SAP Interview Question

How would you implement atomicity in assembly?