Optimized miner.asm