Board: [DoveNet] Programming Subject: DOS mutex From: Jcurtis Date: Wed Jun 04, 2025 18:36 Re: DOS mutex By: Jcurtis to ALL on Wed Jun 04 2025 10:58 am > If anyone has a better trick Looks like something was lost along the way: int w = data; should be int *w = data; The pointer indirection is what makes the [bx] two-instruction sequence necessary. If "w" was a regular variable, one asm instruction is enough. --- ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net .