Somewhere in the back of my memory is buried the idea that you can do this:<div><br></div><div>LOCK mov a, %ax</div><div>LOCK add $1, %ax</div><div>LOCK mov %ax, a</div><div><br></div><div>I.e implement a compound indivisible instruction with a sequence of instructions prefixed with LOCK.</div><div><br></div><div>Notwithstanding the merits of the idea, does anyone know if this is doable or I am just misremembering?</div><div><br></div><div>ron</div>